fffiloni commited on
Commit
f7cfd7e
·
1 Parent(s): f08425d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -216,6 +216,19 @@ with gr.Blocks(css=css) as demo:
216
  with gr.Column():
217
  video_res = gr.Video(label="result")
218
  status = gr.Textbox(label="result")
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  video_path.change(fn=get_frame_count,
220
  inputs=[video_path],
221
  outputs=[video_length],
 
216
  with gr.Column():
217
  video_res = gr.Video(label="result")
218
  status = gr.Textbox(label="result")
219
+ gr.Examples(
220
+ examples=[["./examples/moonwalk.mp4", 'canny', 12, 42, 50]],
221
+ fn=run_inference,
222
+ inputs=[prompt,
223
+ video_path,
224
+ condition,
225
+ video_length,
226
+ seed,
227
+ inference_steps
228
+ ],
229
+ outputs=[status, video_res],
230
+ cache_examples=True
231
+ )
232
  video_path.change(fn=get_frame_count,
233
  inputs=[video_path],
234
  outputs=[video_length],