K. S. Ernest (iFire) Lee commited on
Commit
bfe75af
·
unverified ·
1 Parent(s): 6c01194

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. 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=[400, 600, 800, 900, 950, 999],
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=30)
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='127.0.0.1')
 
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)