dlaima commited on
Commit
b72051c
·
verified ·
1 Parent(s): ffb68f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -24,13 +24,12 @@ def generate_caption(image):
24
 
25
 
26
 
27
-
28
  # Gradio interface
29
 
30
  demo = gr.Interface(
31
  fn=generate_caption,
32
  inputs=gr.Image(type="pil", label="Upload Image"),
33
- outputs=gr.outputs.Textbox(label="Generated Caption"),
34
  examples=[image1, image2, image3],
35
  title="Image Captioning App",
36
  description=(
 
24
 
25
 
26
 
 
27
  # Gradio interface
28
 
29
  demo = gr.Interface(
30
  fn=generate_caption,
31
  inputs=gr.Image(type="pil", label="Upload Image"),
32
+ outputs=gr.Textbox(label="Generated Caption"),
33
  examples=[image1, image2, image3],
34
  title="Image Captioning App",
35
  description=(