Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -407,6 +407,7 @@ with gr.Blocks() as demo:
|
|
| 407 |
output_video = gr.Video(interactive=False, include_audio=True, elem_id="输出的视频")
|
| 408 |
clear = gr.Button("Restart")
|
| 409 |
|
|
|
|
| 410 |
ex = gr.Examples(
|
| 411 |
examples = [["Underwater environment cosmetic bottles", None, 7.5, 7.5, None, "./input/i2v/Underwater_environment_cosmetic_bottles.png", 100]],
|
| 412 |
fn = gen_or_pre,
|
|
@@ -415,7 +416,6 @@ with gr.Blocks() as demo:
|
|
| 415 |
cache_examples=False
|
| 416 |
)
|
| 417 |
|
| 418 |
-
tcfg_scale = scfg_scale
|
| 419 |
run.click(gen_or_pre, [text_input, image_input, scfg_scale, tcfg_scale, img_cfg_scale, preframe_input, diffusion_step], [output_video])
|
| 420 |
|
| 421 |
demo.queue(max_size=12).launch()
|
|
|
|
| 407 |
output_video = gr.Video(interactive=False, include_audio=True, elem_id="输出的视频")
|
| 408 |
clear = gr.Button("Restart")
|
| 409 |
|
| 410 |
+
tcfg_scale = scfg_scale
|
| 411 |
ex = gr.Examples(
|
| 412 |
examples = [["Underwater environment cosmetic bottles", None, 7.5, 7.5, None, "./input/i2v/Underwater_environment_cosmetic_bottles.png", 100]],
|
| 413 |
fn = gen_or_pre,
|
|
|
|
| 416 |
cache_examples=False
|
| 417 |
)
|
| 418 |
|
|
|
|
| 419 |
run.click(gen_or_pre, [text_input, image_input, scfg_scale, tcfg_scale, img_cfg_scale, preframe_input, diffusion_step], [output_video])
|
| 420 |
|
| 421 |
demo.queue(max_size=12).launch()
|