Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
ec95f53
1
Parent(s):
a4e1286
Update app.py
Browse files
app.py
CHANGED
@@ -259,7 +259,7 @@ title = "CLIP prefix captioning"
|
|
259 |
description = "Gradio demo for CLIP prefix captioning: a simple image captioning model. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
260 |
article = "<p style='text-align: center'><a href='https://github.com/rmokady/CLIP_prefix_caption' target='_blank'>Github Repo</a></p>"
|
261 |
|
262 |
-
examples=[['water.jpeg']]
|
263 |
gr.Interface(
|
264 |
inference,
|
265 |
[gr.inputs.Image(type="file", label="Input"),gr.inputs.Radio(choices=["COCO","Conceptual captions"], type="value", default="COCO", label="Model")],
|
|
|
259 |
description = "Gradio demo for CLIP prefix captioning: a simple image captioning model. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
260 |
article = "<p style='text-align: center'><a href='https://github.com/rmokady/CLIP_prefix_caption' target='_blank'>Github Repo</a></p>"
|
261 |
|
262 |
+
examples=[['water.jpeg',"COCO"]]
|
263 |
gr.Interface(
|
264 |
inference,
|
265 |
[gr.inputs.Image(type="file", label="Input"),gr.inputs.Radio(choices=["COCO","Conceptual captions"], type="value", default="COCO", label="Model")],
|