Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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()
|