Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -519,7 +519,7 @@ def generate_workflow(
|
|
| 519 |
_timing_store = {}
|
| 520 |
|
| 521 |
_append_log("INFO", "blue", f"Task submitted. Target: {unet_choice}")
|
| 522 |
-
yield None, _terminal_html
|
| 523 |
|
| 524 |
try:
|
| 525 |
effective_seed = int(seed) if seed >= 0 else random.randint(0, 2**32 - 1)
|
|
@@ -1442,7 +1442,8 @@ with gr.Blocks(title=MODEL_CONFIG["ui_title"], css=custom_css) as demo:
|
|
| 1442 |
char_enable, char_lora_state, char_strength,
|
| 1443 |
*base_lora_components,
|
| 1444 |
],
|
| 1445 |
-
|
|
|
|
| 1446 |
)
|
| 1447 |
|
| 1448 |
|
|
|
|
| 519 |
_timing_store = {}
|
| 520 |
|
| 521 |
_append_log("INFO", "blue", f"Task submitted. Target: {unet_choice}")
|
| 522 |
+
yield None, _terminal_html, gr.update(interactive=False)
|
| 523 |
|
| 524 |
try:
|
| 525 |
effective_seed = int(seed) if seed >= 0 else random.randint(0, 2**32 - 1)
|
|
|
|
| 1442 |
char_enable, char_lora_state, char_strength,
|
| 1443 |
*base_lora_components,
|
| 1444 |
],
|
| 1445 |
+
# ๐ ๅ ไธ button๏ผๆฅๆถ็ฌฌไธไธช่ฟๅๅผ
|
| 1446 |
+
outputs=[output, terminal_box, button],
|
| 1447 |
)
|
| 1448 |
|
| 1449 |
|