mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-07-29 11:15:22 +08:00
Ensuring calls default to the values found by the Settings object in indicoio.config
This commit is contained in:
+10
-2
@@ -12,8 +12,16 @@ from indicoio.images.fer import fer
|
||||
from indicoio.images.features import facial_features
|
||||
from indicoio.images.features import image_features
|
||||
|
||||
apis = ['political', 'posneg', 'sentiment', 'language', 'fer',
|
||||
'facial_features', 'image_features', 'text_tags']
|
||||
apis = [
|
||||
'political',
|
||||
'posneg',
|
||||
'sentiment',
|
||||
'language',
|
||||
'fer',
|
||||
'facial_features',
|
||||
'image_features',
|
||||
'text_tags'
|
||||
]
|
||||
apis = dict((api, globals().get(api)) for api in apis)
|
||||
|
||||
for api in apis:
|
||||
|
||||
Reference in New Issue
Block a user