Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def summarize_ner(text): # I implemented the validation step here because the mo
|
|
| 108 |
summarized = summarized[0]['summary_text']
|
| 109 |
else:
|
| 110 |
return {
|
| 111 |
-
"text": "⚠️ Unexpected response from summarize.",
|
| 112 |
"entities": []
|
| 113 |
}
|
| 114 |
|
|
|
|
| 108 |
summarized = summarized[0]['summary_text']
|
| 109 |
else:
|
| 110 |
return {
|
| 111 |
+
"text": f"⚠️ Unexpected response from summarize. {summarized}",
|
| 112 |
"entities": []
|
| 113 |
}
|
| 114 |
|