khang119966 commited on
Commit
662b42f
·
verified ·
1 Parent(s): 1296618

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -541,7 +541,8 @@ with gr.Blocks() as demo:
541
  btn = gr.Button("Inference")
542
  video = gr.Video(label="Visualization Video")
543
 
544
- btn.click(fn=generate_video, inputs=[image, prompt, max_tokens], outputs=video)
 
545
 
546
  if __name__ == "__main__":
547
  demo.launch()
 
541
  btn = gr.Button("Inference")
542
  video = gr.Video(label="Visualization Video")
543
 
544
+ btn.click(fn=generate_video, inputs=[image, prompt, max_tokens], outputs=video,
545
+ examples=[["demo_2.jpg", "List all the text.", 80]])
546
 
547
  if __name__ == "__main__":
548
  demo.launch()