Spaces:
Runtime error
Runtime error
K. S. Ernest (iFire) Lee
commited on
Update gradio_app.py
Browse files- gradio_app.py +3 -3
gradio_app.py
CHANGED
@@ -252,7 +252,7 @@ with block:
|
|
252 |
with gr.Accordion(label='Step 2: Generate Key Frames', open=True):
|
253 |
with gr.Row():
|
254 |
with gr.Column():
|
255 |
-
input_undo_steps = gr.Dropdown(label="Operation Steps", value=[
|
256 |
choices=list(range(1000)), multiselect=True)
|
257 |
seed = gr.Slider(label='Stage 1 Seed', minimum=0, maximum=50000, step=1, value=12345)
|
258 |
image_width = gr.Slider(label="Image Width", minimum=256, maximum=1024, value=512, step=64)
|
@@ -278,7 +278,7 @@ with block:
|
|
278 |
elem_id="i2v_cfg_scale")
|
279 |
i2v_steps = gr.Slider(minimum=1, maximum=60, step=1, elem_id="i2v_steps",
|
280 |
label="Sampling steps", value=50)
|
281 |
-
i2v_fps = gr.Slider(minimum=1, maximum=30, step=1, elem_id="i2v_motion", label="FPS", value=
|
282 |
with gr.Column():
|
283 |
i2v_end_btn = gr.Button("Generate Video", interactive=False)
|
284 |
i2v_output_video = gr.Video(label="Generated Video", elem_id="output_vid", autoplay=True,
|
@@ -321,4 +321,4 @@ with block:
|
|
321 |
examples_per_page=1024
|
322 |
)
|
323 |
|
324 |
-
block.queue().launch(server_name='
|
|
|
252 |
with gr.Accordion(label='Step 2: Generate Key Frames', open=True):
|
253 |
with gr.Row():
|
254 |
with gr.Column():
|
255 |
+
input_undo_steps = gr.Dropdown(label="Operation Steps", value=[100, 200, 300, 550, 700, 950],
|
256 |
choices=list(range(1000)), multiselect=True)
|
257 |
seed = gr.Slider(label='Stage 1 Seed', minimum=0, maximum=50000, step=1, value=12345)
|
258 |
image_width = gr.Slider(label="Image Width", minimum=256, maximum=1024, value=512, step=64)
|
|
|
278 |
elem_id="i2v_cfg_scale")
|
279 |
i2v_steps = gr.Slider(minimum=1, maximum=60, step=1, elem_id="i2v_steps",
|
280 |
label="Sampling steps", value=50)
|
281 |
+
i2v_fps = gr.Slider(minimum=1, maximum=30, step=1, elem_id="i2v_motion", label="FPS", value=3)
|
282 |
with gr.Column():
|
283 |
i2v_end_btn = gr.Button("Generate Video", interactive=False)
|
284 |
i2v_output_video = gr.Video(label="Generated Video", elem_id="output_vid", autoplay=True,
|
|
|
321 |
examples_per_page=1024
|
322 |
)
|
323 |
|
324 |
+
block.queue().launch(server_name='0.0.0.0', share=True)
|