Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -80,10 +80,10 @@ def handle_image_upload_for_dims_wan(uploaded_pil_image, current_h_val, current_
|
|
80 |
return gr.update(value=DEFAULT_H_SLIDER_VALUE), gr.update(value=DEFAULT_W_SLIDER_VALUE)
|
81 |
|
82 |
def get_duration(input_image, prompt, height, width,
|
83 |
-
negative_prompt=default_negative_prompt, duration_seconds
|
84 |
-
guidance_scale
|
85 |
-
seed
|
86 |
-
progress
|
87 |
if steps > 4 and duration_seconds > 2:
|
88 |
return 90
|
89 |
elif steps > 4 or duration_seconds > 2:
|
|
|
80 |
return gr.update(value=DEFAULT_H_SLIDER_VALUE), gr.update(value=DEFAULT_W_SLIDER_VALUE)
|
81 |
|
82 |
def get_duration(input_image, prompt, height, width,
|
83 |
+
negative_prompt=default_negative_prompt, duration_seconds,
|
84 |
+
guidance_scale, steps,
|
85 |
+
seed, randomize_seed,
|
86 |
+
progress):
|
87 |
if steps > 4 and duration_seconds > 2:
|
88 |
return 90
|
89 |
elif steps > 4 or duration_seconds > 2:
|