tonyassi commited on
Commit
7ed0992
·
verified ·
1 Parent(s): ab2efba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ def greet(img):
19
 
20
  iface = gr.Interface(fn=greet,
21
  title='Blip Image Captioning Large',
22
- inputs=gr.Image(type='filepath'),
23
- outputs="text",
24
  theme = gr.themes.Base(primary_hue="teal",secondary_hue="teal",neutral_hue="slate"),)
25
  iface.launch()
 
19
 
20
  iface = gr.Interface(fn=greet,
21
  title='Blip Image Captioning Large',
22
+ inputs=gr.Image(type='filepath', label='Image'),
23
+ outputs=gr.Textbox(label='Caption'),
24
  theme = gr.themes.Base(primary_hue="teal",secondary_hue="teal",neutral_hue="slate"),)
25
  iface.launch()