Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ iface = gr.Interface(
|
|
| 20 |
inputs=gr.Textbox(lines=2, placeholder="Enter a sentence..."),
|
| 21 |
outputs=[
|
| 22 |
gr.Label(label="Predicted Emotion"),
|
| 23 |
-
gr.JSON(label="Confidence Scores")
|
| 24 |
],
|
| 25 |
title="🎭 Emotion Classifier (FastAI)",
|
| 26 |
description="Enter a sentence and the model will predict the corresponding emotion.",
|
|
|
|
| 20 |
inputs=gr.Textbox(lines=2, placeholder="Enter a sentence..."),
|
| 21 |
outputs=[
|
| 22 |
gr.Label(label="Predicted Emotion"),
|
| 23 |
+
#gr.JSON(label="Confidence Scores")
|
| 24 |
],
|
| 25 |
title="🎭 Emotion Classifier (FastAI)",
|
| 26 |
description="Enter a sentence and the model will predict the corresponding emotion.",
|