SamanthaStorm commited on
Commit
63a3e67
·
verified ·
1 Parent(s): 9a9708c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def analyze_messages(input_text):
96
  )
97
 
98
  # Return both a text summary and a JSON-like dict of scores per label
99
- return result, {"scores": dict(zip(LABELS, scores.tolist()))}
100
 
101
  # Updated Gradio Interface using new component syntax
102
  iface = gr.Interface(
 
96
  )
97
 
98
  # Return both a text summary and a JSON-like dict of scores per label
99
+ return result
100
 
101
  # Updated Gradio Interface using new component syntax
102
  iface = gr.Interface(