rahul7star commited on
Commit
cbc97fc
·
verified ·
1 Parent(s): 88c865f

Update app_4k.py

Browse files
Files changed (1) hide show
  1. app_4k.py +3 -3
app_4k.py CHANGED
@@ -290,7 +290,7 @@ with gr.Blocks(css="body { max-width: 100vw; overflow-x: hidden; }") as demo:
290
  negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, lines=3)
291
  seed_input = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, interactive=True)
292
  randomize_seed_checkbox = gr.Checkbox(label="Randomize seed", value=True, interactive=True)
293
- enable_4k_checkbox = gr.Checkbox(label="🎥 Generate 4K Video", value=False)
294
  with gr.Row():
295
  height_input = gr.Slider(
296
  minimum=SLIDER_MIN_H,
@@ -324,8 +324,8 @@ with gr.Blocks(css="body { max-width: 100vw; overflow-x: hidden; }") as demo:
324
  ui_inputs = [
325
  prompt_input, height_input, width_input,
326
  negative_prompt_input, duration_seconds_input,
327
- guidance_scale_input, steps_slider, seed_input, randomize_seed_checkbox,
328
- enable_4k_checkbox
329
  ]
330
  generate_button.click(fn=generate_video, inputs=ui_inputs, outputs=[video_output, seed_input])
331
 
 
290
  negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, lines=3)
291
  seed_input = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, interactive=True)
292
  randomize_seed_checkbox = gr.Checkbox(label="Randomize seed", value=True, interactive=True)
293
+
294
  with gr.Row():
295
  height_input = gr.Slider(
296
  minimum=SLIDER_MIN_H,
 
324
  ui_inputs = [
325
  prompt_input, height_input, width_input,
326
  negative_prompt_input, duration_seconds_input,
327
+ guidance_scale_input, steps_slider, seed_input, randomize_seed_checkbox
328
+
329
  ]
330
  generate_button.click(fn=generate_video, inputs=ui_inputs, outputs=[video_output, seed_input])
331