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