mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-07-18 12:10:22 +08:00
Email + password auth from client
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from indicoio.utils import api_handler
|
||||
|
||||
def text_tags(api_root, text, batch=False):
|
||||
def text_tags(api_root, text, batch=False, auth=None):
|
||||
"""
|
||||
Given input text, returns a probability distribution over 100 document categories
|
||||
|
||||
@@ -22,4 +22,4 @@ def text_tags(api_root, text, batch=False):
|
||||
:rtype: Dictionary of class probability pairs
|
||||
"""
|
||||
|
||||
return api_handler(text, api_root + "texttags", batch=batch)
|
||||
return api_handler(text, api_root + "texttags", batch=batch, auth=None)
|
||||
|
||||
Reference in New Issue
Block a user