Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def analyze_reviews(uploaded_file):
|
|
| 52 |
try:
|
| 53 |
topic_result = zero_classifier(complaint, candidate_labels)
|
| 54 |
top_topic = topic_result["labels"][0]
|
| 55 |
-
topic_summary_pairs.append((top_topic, complaint)
|
| 56 |
except Exception as e:
|
| 57 |
st.warning(f"❗ Error processing complaint: {e}")
|
| 58 |
continue
|
|
|
|
| 52 |
try:
|
| 53 |
topic_result = zero_classifier(complaint, candidate_labels)
|
| 54 |
top_topic = topic_result["labels"][0]
|
| 55 |
+
topic_summary_pairs.append((top_topic, complaint))
|
| 56 |
except Exception as e:
|
| 57 |
st.warning(f"❗ Error processing complaint: {e}")
|
| 58 |
continue
|