prithivMLmods commited on
Commit
67cd103
·
verified ·
1 Parent(s): 6a409e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -563,9 +563,7 @@ with gr.Blocks() as demo:
563
 
564
  enhance_prompt = gr.Checkbox(label="Enhance Prompt", value=True, visible=False)
565
 
566
- with gr.Accordion("Advanced Settings", open=False):
567
- seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, value=DEFAULT_SEED, step=1)
568
- randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
569
 
570
  # Right Column: Output & Settings
571
  with gr.Column(elem_id="step-column"):
@@ -591,8 +589,10 @@ with gr.Blocks() as demo:
591
  width = gr.Number(value=DEFAULT_1_STAGE_WIDTH, visible=False)
592
  height = gr.Number(value=DEFAULT_1_STAGE_HEIGHT, visible=False)
593
 
594
- generate_btn = gr.Button("Generate Video", variant="primary", elem_classes="button-gradient")
595
-
 
 
596
  # Wire up events
597
  radioanimated_duration.change(fn=apply_duration, inputs=radioanimated_duration, outputs=[duration], api_visibility="private")
598
  radioanimated_resolution.change(fn=apply_resolution, inputs=radioanimated_resolution, outputs=[width, height], api_visibility="private")
 
563
 
564
  enhance_prompt = gr.Checkbox(label="Enhance Prompt", value=True, visible=False)
565
 
566
+ generate_btn = gr.Button("Generate Video", variant="primary", elem_classes="button-gradient")
 
 
567
 
568
  # Right Column: Output & Settings
569
  with gr.Column(elem_id="step-column"):
 
589
  width = gr.Number(value=DEFAULT_1_STAGE_WIDTH, visible=False)
590
  height = gr.Number(value=DEFAULT_1_STAGE_HEIGHT, visible=False)
591
 
592
+ with gr.Accordion("Advanced Settings", open=False):
593
+ seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, value=DEFAULT_SEED, step=1)
594
+ randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
595
+
596
  # Wire up events
597
  radioanimated_duration.change(fn=apply_duration, inputs=radioanimated_duration, outputs=[duration], api_visibility="private")
598
  radioanimated_resolution.change(fn=apply_resolution, inputs=radioanimated_resolution, outputs=[width, height], api_visibility="private")