Elegbede commited on
Commit
3fe4de2
·
1 Parent(s): 9814092

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="confidences"),
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
  )