Spaces:
Runtime error
Runtime error
Commit
•
3780d1e
1
Parent(s):
c8d4706
Update app.py
Browse files
app.py
CHANGED
@@ -310,7 +310,7 @@ with gr.Blocks() as demo:
|
|
310 |
video = gr.Video()
|
311 |
with gr.Accordion("Advanced options", open=False):
|
312 |
seed = gr.Slider(label="Seed", value=42, randomize=True, minimum=0, maximum=max_64_bit_int, step=1)
|
313 |
-
randomize_seed = gr.Checkbox("Randomize seed")
|
314 |
|
315 |
image.upload(fn=resize_image, inputs=image, outputs=image, queue=False)
|
316 |
generate_btn.click(fn=sample, inputs=[image, seed, randomize_seed], outputs=[video, seed], api_name="video")
|
|
|
310 |
video = gr.Video()
|
311 |
with gr.Accordion("Advanced options", open=False):
|
312 |
seed = gr.Slider(label="Seed", value=42, randomize=True, minimum=0, maximum=max_64_bit_int, step=1)
|
313 |
+
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
314 |
|
315 |
image.upload(fn=resize_image, inputs=image, outputs=image, queue=False)
|
316 |
generate_btn.click(fn=sample, inputs=[image, seed, randomize_seed], outputs=[video, seed], api_name="video")
|