khang119966 commited on
Commit
b426599
·
verified ·
1 Parent(s): 2d34d9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -543,16 +543,15 @@ with gr.Blocks() as demo:
543
 
544
  btn.click(fn=generate_video, inputs=[image, prompt, max_tokens], outputs=video)
545
 
546
- # Add examples
547
- gr.Examples(
548
- examples=[
549
- ["demo_1.jpg", "List all the text.", 80],
550
- ],
551
- inputs=[image, prompt, max_tokens],
552
- outputs=video,
553
- fn=generate_video,
554
- cache_examples=True
555
- )
556
 
557
  if __name__ == "__main__":
558
  demo.launch()
 
543
 
544
  btn.click(fn=generate_video, inputs=[image, prompt, max_tokens], outputs=video)
545
 
546
+ # gr.Examples(
547
+ # examples=[
548
+ # ["demo_1.jpg", "List all the text.", 80],
549
+ # ],
550
+ # inputs=[image, prompt, max_tokens],
551
+ # outputs=video,
552
+ # fn=generate_video,
553
+ # cache_examples=True
554
+ # )
 
555
 
556
  if __name__ == "__main__":
557
  demo.launch()