Spaces:
Sleeping

SoniaD commited on
Commit
ca9b908
·
verified ·
1 Parent(s): 4e5313b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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