Luciferalive commited on
Commit
e06b559
1 Parent(s): d9b06c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def classify_feedback(feedback_text):
18
  return {top_labels[i]: scores[i] for i in range(len(top_labels))}
19
 
20
  # Create Gradio interface
21
- feedback_textbox = gr.inputs.Text(label="Enter your feedback:")
22
  feedback_output = gr.outputs.Textbox(label="Top 2 Labels with Scores:")
23
 
24
  gr.Interface(
 
18
  return {top_labels[i]: scores[i] for i in range(len(top_labels))}
19
 
20
  # Create Gradio interface
21
+ feedback_textbox = gr.inputs.Textbox(label="Enter your feedback:")
22
  feedback_output = gr.outputs.Textbox(label="Top 2 Labels with Scores:")
23
 
24
  gr.Interface(