Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
@@ -240,6 +240,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
240 |
gr.Examples(
|
241 |
examples=examples,
|
242 |
inputs=[image, vqa_input],
|
|
|
|
|
243 |
)
|
244 |
|
245 |
caption_button.click(
|
|
|
240 |
gr.Examples(
|
241 |
examples=examples,
|
242 |
inputs=[image, vqa_input],
|
243 |
+
outputs=caption_output,
|
244 |
+
fn=generate_caption,
|
245 |
)
|
246 |
|
247 |
caption_button.click(
|