Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
35 |
-
gr.
|
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"
|