Elegbede commited on
Commit
876da5a
·
1 Parent(s): 6a6c2ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -23,7 +23,11 @@ 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."],
27
+ ["I hate you"],
28
+ ["I am scared"],
29
+ ["I am amazed"],
30
+ ],
31
  title="Emotion Classification",
32
  description="Predict the emotion probabilities of a text using a fine-tuned DistilBERT model."
33
  )