Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def predict_emotion(image):
|
|
| 79 |
iface = gr.Interface(
|
| 80 |
fn=predict_emotion,
|
| 81 |
inputs=gr.Image(type="pil", label="Upload an Image"), # Updated line
|
| 82 |
-
outputs=gr.Textbox(label="Emotion
|
| 83 |
title="PerceptCLIP-Emotions",
|
| 84 |
description="This model predicts the emotion evoked by an image and returns the corresponding emoji along with the emotion name."
|
| 85 |
)
|
|
|
|
| 79 |
iface = gr.Interface(
|
| 80 |
fn=predict_emotion,
|
| 81 |
inputs=gr.Image(type="pil", label="Upload an Image"), # Updated line
|
| 82 |
+
outputs=gr.Textbox(label="Emotion"), # Updated line
|
| 83 |
title="PerceptCLIP-Emotions",
|
| 84 |
description="This model predicts the emotion evoked by an image and returns the corresponding emoji along with the emotion name."
|
| 85 |
)
|