Spaces:
hysts
/
Running on Zero

hysts HF staff commited on
Commit
a34fa3a
1 Parent(s): 99d952c
Files changed (1) hide show
  1. app.py +2 -0
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(