Spaces:
Runtime error
Runtime error
Fix
Browse files
app.py
CHANGED
|
@@ -152,6 +152,12 @@ def generate(prompt, negative_prompt, input_image_filepath, input_video_filepath
|
|
| 152 |
ui_frames_to_use,
|
| 153 |
seed_ui, randomize_seed, ui_guidance_scale, improve_texture_flag,
|
| 154 |
progress=gr.Progress(track_tqdm=True)):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
if i2v_prompt_debug_value is not None:
|
| 156 |
prompt = i2v_prompt_debug_value
|
| 157 |
i2v_prompt_debug_value = None
|
|
@@ -170,7 +176,6 @@ def generate(prompt, negative_prompt, input_image_filepath, input_video_filepath
|
|
| 170 |
|
| 171 |
if duration_input_debug_value is not None:
|
| 172 |
duration_ui = duration_input_debug_value
|
| 173 |
-
global duration_input_debug_value
|
| 174 |
duration_input_debug_value = None
|
| 175 |
|
| 176 |
if randomize_seed:
|
|
|
|
| 152 |
ui_frames_to_use,
|
| 153 |
seed_ui, randomize_seed, ui_guidance_scale, improve_texture_flag,
|
| 154 |
progress=gr.Progress(track_tqdm=True)):
|
| 155 |
+
global i2v_prompt_debug_value
|
| 156 |
+
global image_i2v_debug_value
|
| 157 |
+
global height_input_debug_value
|
| 158 |
+
global width_input_debug_value
|
| 159 |
+
global duration_input_debug_value
|
| 160 |
+
|
| 161 |
if i2v_prompt_debug_value is not None:
|
| 162 |
prompt = i2v_prompt_debug_value
|
| 163 |
i2v_prompt_debug_value = None
|
|
|
|
| 176 |
|
| 177 |
if duration_input_debug_value is not None:
|
| 178 |
duration_ui = duration_input_debug_value
|
|
|
|
| 179 |
duration_input_debug_value = None
|
| 180 |
|
| 181 |
if randomize_seed:
|