Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,8 +63,12 @@ def analyse_text(input_data: TextInput):
|
|
| 63 |
overall_analysis = analyze_sentiment(conversation_list)
|
| 64 |
|
| 65 |
# Step 3: Combine results into the final output
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
result = {
|
| 67 |
-
"analyses": conversation_list,
|
| 68 |
"overall_analysis": overall_analysis
|
| 69 |
}
|
| 70 |
|
|
|
|
| 63 |
overall_analysis = analyze_sentiment(conversation_list)
|
| 64 |
|
| 65 |
# Step 3: Combine results into the final output
|
| 66 |
+
# result = {
|
| 67 |
+
# "analyses": conversation_list,
|
| 68 |
+
# "overall_analysis": overall_analysis
|
| 69 |
+
# }
|
| 70 |
+
|
| 71 |
result = {
|
|
|
|
| 72 |
"overall_analysis": overall_analysis
|
| 73 |
}
|
| 74 |
|