muneebashraf commited on
Commit
d2fe332
·
1 Parent(s): 3a40934
Files changed (1) hide show
  1. app.py +1 -1
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="Generated Caption and Sentiment Analysis")
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)