seawolf2357 commited on
Commit
5ee0837
·
verified ·
1 Parent(s): 71aff80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -219,7 +219,7 @@ with gr.Blocks(analytics_enabled=False, css=css) as dynamicrafter_iface:
219
  with gr.Row():
220
  t2i_input_text = gr.Text(label='Prompt')
221
  with gr.Row():
222
- t2i_seed = gr.Slider(label='Seed', minimum=0, maximum=MAX_SEED, step=1, value=42)
223
  t2i_randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
224
  with gr.Row():
225
  t2i_width = gr.Slider(label='Width', minimum=256, maximum=MAX_IMAGE_SIZE, step=64, value=1024)
@@ -280,14 +280,14 @@ with gr.Blocks(analytics_enabled=False, css=css) as dynamicrafter_iface:
280
  with gr.Column():
281
  t2v_input_text = gr.Text(label='Prompt')
282
  with gr.Row():
283
- t2v_seed = gr.Slider(label='Seed', minimum=0, maximum=MAX_SEED, step=1, value=42)
284
  t2v_randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
285
  with gr.Row():
286
  t2v_width = gr.Slider(label='Width', minimum=256, maximum=MAX_IMAGE_SIZE, step=64, value=1024)
287
  t2v_height = gr.Slider(label='Height', minimum=256, maximum=MAX_IMAGE_SIZE, step=64, value=576)
288
  with gr.Row():
289
- t2v_guidance_scale = gr.Slider(label='Image Guidance Scale', minimum=1.0, maximum=20.0, step=0.1, value=5.0)
290
- t2v_num_inference_steps = gr.Slider(label='Image Inference Steps', minimum=1, maximum=100, step=1, value=28)
291
  with gr.Row():
292
  t2v_video_steps = gr.Slider(label='Video Steps', minimum=1, maximum=50, step=1, value=30)
293
  t2v_video_cfg_scale = gr.Slider(label='Video CFG Scale', minimum=1.0, maximum=15.0, step=0.5, value=3.5)
 
219
  with gr.Row():
220
  t2i_input_text = gr.Text(label='Prompt')
221
  with gr.Row():
222
+ t2i_seed = gr.Slider(label='Seed', minimum=0, maximum=MAX_SEED, step=1, value=123)
223
  t2i_randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
224
  with gr.Row():
225
  t2i_width = gr.Slider(label='Width', minimum=256, maximum=MAX_IMAGE_SIZE, step=64, value=1024)
 
280
  with gr.Column():
281
  t2v_input_text = gr.Text(label='Prompt')
282
  with gr.Row():
283
+ t2v_seed = gr.Slider(label='Seed', minimum=0, maximum=MAX_SEED, step=1, value=123)
284
  t2v_randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
285
  with gr.Row():
286
  t2v_width = gr.Slider(label='Width', minimum=256, maximum=MAX_IMAGE_SIZE, step=64, value=1024)
287
  t2v_height = gr.Slider(label='Height', minimum=256, maximum=MAX_IMAGE_SIZE, step=64, value=576)
288
  with gr.Row():
289
+ t2v_guidance_scale = gr.Slider(label='Image Guidance Scale', minimum=1.0, maximum=20.0, step=0.1, value=4.0)
290
+ t2v_num_inference_steps = gr.Slider(label='Image Inference Steps', minimum=1, maximum=100, step=1, value=30)
291
  with gr.Row():
292
  t2v_video_steps = gr.Slider(label='Video Steps', minimum=1, maximum=50, step=1, value=30)
293
  t2v_video_cfg_scale = gr.Slider(label='Video CFG Scale', minimum=1.0, maximum=15.0, step=0.5, value=3.5)