Spaces:
Runtime error
Runtime error
Logeswaransr
commited on
Commit
•
5d839b8
1
Parent(s):
c44137f
ner FILE Updated
Browse files
ner.py
CHANGED
@@ -34,7 +34,5 @@ def ner(input):
|
|
34 |
output = merge_tokens(output)
|
35 |
return {"text": input, "entities": output}
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
model_url = ner_api['API_URL']
|
40 |
-
model_api = ner_api['API_Key']
|
|
|
34 |
output = merge_tokens(output)
|
35 |
return {"text": input, "entities": output}
|
36 |
|
37 |
+
model_url = os.environ['API_URL']
|
38 |
+
model_api = os.environ['API_Key']
|
|
|
|