mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-08-15 12:04:50 +08:00
REMOVE: remove sentiment_hq from text_apis by default
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from functools import partial
|
||||
|
||||
Version, version, __version__, VERSION = ('0.7.1',) * 4
|
||||
Version, version, __version__, VERSION = ('0.7.2',) * 4
|
||||
|
||||
JSON_HEADERS = {
|
||||
'Content-type': 'application/json',
|
||||
|
||||
@@ -11,6 +11,9 @@ AVAILABLE_APIS = {
|
||||
'image': IMAGE_APIS
|
||||
}
|
||||
|
||||
# TODO: remove this line when sentiment_hq is released publicly
|
||||
AVAILABLE_APIS['text'].remove('sentiment_hq')
|
||||
|
||||
def multi(data, datatype, apis, batch=False, **kwargs):
|
||||
"""
|
||||
Helper to make multi requests of different types.
|
||||
|
||||
Reference in New Issue
Block a user