Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def EntityRecognition(endpoint, key, statements):
|
|
| 14 |
|
| 15 |
entity_recognition_client = TextAnalyticsClient(endpoint=endpoint, credential=AzureKeyCredential(key))
|
| 16 |
|
| 17 |
-
documents = tuple(statements.split("
|
| 18 |
|
| 19 |
result = entity_recognition_client.recognize_entities(documents)[0]
|
| 20 |
|
|
|
|
| 14 |
|
| 15 |
entity_recognition_client = TextAnalyticsClient(endpoint=endpoint, credential=AzureKeyCredential(key))
|
| 16 |
|
| 17 |
+
documents = tuple(statements.split("|"))
|
| 18 |
|
| 19 |
result = entity_recognition_client.recognize_entities(documents)[0]
|
| 20 |
|