Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def predict(texts):
|
|
| 22 |
iface = gr.Interface(
|
| 23 |
fn=predict,
|
| 24 |
inputs="text",
|
| 25 |
-
outputs=gr.outputs.Dataframe(type="
|
| 26 |
title="Emotion Classifier",
|
| 27 |
description="Predict the emotion from text using a fine-tuned DistilBERT model.",
|
| 28 |
)
|
|
|
|
| 22 |
iface = gr.Interface(
|
| 23 |
fn=predict,
|
| 24 |
inputs="text",
|
| 25 |
+
outputs=gr.outputs.Dataframe(type="pandas"),
|
| 26 |
title="Emotion Classifier",
|
| 27 |
description="Predict the emotion from text using a fine-tuned DistilBERT model.",
|
| 28 |
)
|