Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def predict_emotion(image):
|
|
| 19 |
iface = gr.Interface(fn=predict_emotion,
|
| 20 |
inputs=gr.Image(type="pil"), # Updated gr.Image input
|
| 21 |
outputs="text", # Text output for dominant emotion
|
| 22 |
-
title="
|
| 23 |
description="Upload an image and get the predicted emotion")
|
| 24 |
|
| 25 |
# Launch the Gradio app
|
|
|
|
| 19 |
iface = gr.Interface(fn=predict_emotion,
|
| 20 |
inputs=gr.Image(type="pil"), # Updated gr.Image input
|
| 21 |
outputs="text", # Text output for dominant emotion
|
| 22 |
+
title="Facial Emotion Recognizer",
|
| 23 |
description="Upload an image and get the predicted emotion")
|
| 24 |
|
| 25 |
# Launch the Gradio app
|