Update app.py
Browse files
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=
|
| 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()
|