Spaces:
Runtime error
Runtime error
Commit
•
d8570a2
1
Parent(s):
d8ae489
debug
Browse files- app.py +1 -1
- donuts.jpg +0 -0
- pokemon.jpeg +0 -0
- pokemons.jpg +0 -0
app.py
CHANGED
@@ -116,7 +116,7 @@ description = "Gradio Demo for OFA-Image_Caption. Upload your own image or click
|
|
116 |
"\"Submit\" and then wait for the generated caption. "
|
117 |
article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
|
118 |
"Repo</a></p> "
|
119 |
-
examples = [['beatles.jpeg'], ['aurora.jpeg'], ['good_luck.png'], ['
|
120 |
io = gr.Interface(fn=image_caption, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Textbox(label="Caption"),
|
121 |
title=title, description=description, article=article, examples=examples,
|
122 |
allow_flagging=False, allow_screenshot=False)
|
|
|
116 |
"\"Submit\" and then wait for the generated caption. "
|
117 |
article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
|
118 |
"Repo</a></p> "
|
119 |
+
examples = [['beatles.jpeg'], ['aurora.jpeg'], ['good_luck.png'], ['pokemons.jpg'], ['donuts.jpg']]
|
120 |
io = gr.Interface(fn=image_caption, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Textbox(label="Caption"),
|
121 |
title=title, description=description, article=article, examples=examples,
|
122 |
allow_flagging=False, allow_screenshot=False)
|
donuts.jpg
ADDED
![]() |
pokemon.jpeg
DELETED
Binary file (5.7 kB)
|
|
pokemons.jpg
ADDED
![]() |