Update gradio_app.py
Browse files- gradio_app.py +6 -6
gradio_app.py
CHANGED
@@ -305,12 +305,12 @@ def dynamicrafter_demo(result_dir='./tmp/', res=1024):
|
|
305 |
# unconditional_guidance_scale=1.0, cfg_img=None, fs=None, text_input=False, multiple_cond_cfg=False, \
|
306 |
# loop=False, interp=False, timestep_spacing='uniform', guidance_rescale=0.0, **kwargs):
|
307 |
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
i2v_end_btn.click(inputs=[i2v_input_image, i2v_input_text, i2v_input_image, i2v_input_image2, [72, 108], 1, i2v_steps, i2v_eta, 1.0, None, i2v_motion, i2v_seed],
|
315 |
outputs=[i2v_output_video],
|
316 |
fn = get_image
|
|
|
305 |
# unconditional_guidance_scale=1.0, cfg_img=None, fs=None, text_input=False, multiple_cond_cfg=False, \
|
306 |
# loop=False, interp=False, timestep_spacing='uniform', guidance_rescale=0.0, **kwargs):
|
307 |
|
308 |
+
gr.Examples(examples=i2v_examples_interp_1024,
|
309 |
+
inputs=inputs=[i2v_input_image, i2v_input_text, i2v_input_image, i2v_input_image2, [72, 108], 1, i2v_steps, i2v_eta, 1.0, None, i2v_motion, i2v_seed],
|
310 |
+
outputs=[i2v_output_video],
|
311 |
+
fn = get_image,
|
312 |
+
cache_examples=False,
|
313 |
+
)
|
314 |
i2v_end_btn.click(inputs=[i2v_input_image, i2v_input_text, i2v_input_image, i2v_input_image2, [72, 108], 1, i2v_steps, i2v_eta, 1.0, None, i2v_motion, i2v_seed],
|
315 |
outputs=[i2v_output_video],
|
316 |
fn = get_image
|