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