Update app.py
Browse files
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."],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
)
|