isom5240ust commited on
Commit
0922e6f
·
verified ·
1 Parent(s): e4fb5a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ iface = gr.Interface(
31
  fn=classify_text,
32
  inputs=gr.Textbox(lines=3, placeholder="Enter text here..."),
33
  outputs=[
34
- gr.Label(label="Label"),
35
- gr.Number(label="Score")
36
  ],
37
  title="Text Classification",
38
  description="Classification for 6 emotions: sadness, joy, love, anger, fear, surprise"
 
31
  fn=classify_text,
32
  inputs=gr.Textbox(lines=3, placeholder="Enter text here..."),
33
  outputs=[
34
+ gr.Textbox(label="Label"),
35
+ gr.Textbox(label="Score")
36
  ],
37
  title="Text Classification",
38
  description="Classification for 6 emotions: sadness, joy, love, anger, fear, surprise"