Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,8 @@ iface = gr.Interface(
|
|
| 19 |
fn=predict_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 (ULMFit ML Service Deployment)",
|
| 26 |
description="Enter a sentence and the model will predict the corresponding emotion.",
|
|
|
|
| 19 |
fn=predict_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 (ULMFit ML Service Deployment)",
|
| 26 |
description="Enter a sentence and the model will predict the corresponding emotion.",
|