global
Browse files
app.py
CHANGED
|
@@ -429,10 +429,12 @@ with gr.Blocks(css=css) as demo:
|
|
| 429 |
)
|
| 430 |
|
| 431 |
def image_i2v_debug_upload(image_filepath):
|
|
|
|
| 432 |
image_i2v_debug_value = image_filepath
|
| 433 |
return []
|
| 434 |
|
| 435 |
def i2v_prompt_debug_change(prompt):
|
|
|
|
| 436 |
i2v_prompt_debug_value = prompt
|
| 437 |
return []
|
| 438 |
|
|
|
|
| 429 |
)
|
| 430 |
|
| 431 |
def image_i2v_debug_upload(image_filepath):
|
| 432 |
+
global image_i2v_debug_value
|
| 433 |
image_i2v_debug_value = image_filepath
|
| 434 |
return []
|
| 435 |
|
| 436 |
def i2v_prompt_debug_change(prompt):
|
| 437 |
+
global i2v_prompt_debug_value
|
| 438 |
i2v_prompt_debug_value = prompt
|
| 439 |
return []
|
| 440 |
|