Update app.py
Browse files
app.py
CHANGED
|
@@ -20,9 +20,9 @@ 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 (ULMFit ML Service)",
|
| 26 |
description="Enter a sentence and the model will predict the corresponding emotion.",
|
| 27 |
allow_flagging="never"
|
| 28 |
)
|
|
|
|
| 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 (ULMFit ML Service Deployment)",
|
| 26 |
description="Enter a sentence and the model will predict the corresponding emotion.",
|
| 27 |
allow_flagging="never"
|
| 28 |
)
|