Commit ·
c74e109
1
Parent(s): 8c78e27
28. Sept. 2024, 16:43
Browse files
app.py
CHANGED
|
@@ -349,10 +349,8 @@ with gr.Blocks(theme=theme, css=custom_css, js=custom_js, head=custom_head, titl
|
|
| 349 |
all_run_btns = [run_btn_lineart, run_btn_canny]
|
| 350 |
|
| 351 |
tab_lineart.select(
|
| 352 |
-
fn=set_inputs(
|
| 353 |
-
|
| 354 |
-
),
|
| 355 |
-
inputs=all_run_btns,
|
| 356 |
outputs=all_run_btns,
|
| 357 |
)
|
| 358 |
|
|
|
|
| 349 |
all_run_btns = [run_btn_lineart, run_btn_canny]
|
| 350 |
|
| 351 |
tab_lineart.select(
|
| 352 |
+
fn=set_inputs("lineart", all_run_btns),
|
| 353 |
+
inputs=None,
|
|
|
|
|
|
|
| 354 |
outputs=all_run_btns,
|
| 355 |
)
|
| 356 |
|