Commit
·
d2fe332
1
Parent(s):
3a40934
commit
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def generate_caption_and_analyze_emotions(image):
|
|
31 |
|
32 |
# Define the Gradio interface
|
33 |
inputs = gr.inputs.Image(label="Upload an image")
|
34 |
-
outputs = gr.outputs.Textbox(label="
|
35 |
|
36 |
# Create the Gradio app
|
37 |
app = gr.Interface(fn=generate_caption_and_analyze_emotions, inputs=inputs, outputs=outputs)
|
|
|
31 |
|
32 |
# Define the Gradio interface
|
33 |
inputs = gr.inputs.Image(label="Upload an image")
|
34 |
+
outputs = gr.outputs.Textbox(label="Sentiment Analysis")
|
35 |
|
36 |
# Create the Gradio app
|
37 |
app = gr.Interface(fn=generate_caption_and_analyze_emotions, inputs=inputs, outputs=outputs)
|