Elegbede commited on
Commit
6a6c2ba
·
1 Parent(s): 86e7990

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ iface = gr.Interface(
23
  fn=predict,
24
  inputs="text",
25
  outputs=gr.outputs.Label(num_top_classes = 6), # Corrected output type
26
- examples=[["I Love you."],["I hate you"], ["I am scared"], ["I am amazed"]]
27
  title="Emotion Classification",
28
  description="Predict the emotion probabilities of a text using a fine-tuned DistilBERT model."
29
  )
 
23
  fn=predict,
24
  inputs="text",
25
  outputs=gr.outputs.Label(num_top_classes = 6), # Corrected output type
26
+ examples=[["I Love you."],["I hate you"], ["I am scared"], ["I am amazed"],]
27
  title="Emotion Classification",
28
  description="Predict the emotion probabilities of a text using a fine-tuned DistilBERT model."
29
  )