Commit
·
524f8ab
1
Parent(s):
109db19
28. Sept. 2024, 17:46
Browse files
app.py
CHANGED
@@ -343,7 +343,7 @@ with gr.Blocks(theme=theme, css=custom_css, js=custom_js, head=custom_head, titl
|
|
343 |
lineart_btn_visible = True if tab == "tab_lineart" else False
|
344 |
canny_btn_visible = True if tab == "tab_canny" else False
|
345 |
|
346 |
-
return {"visible": lineart_btn_visible, "__type__": "update"}, {"visible": canny_btn_visible, "__type__": "update"}
|
347 |
|
348 |
run_btn_lineart = gr.Button("Run", visible=False)
|
349 |
run_btn_canny = gr.Button("Run", visible=False)
|
|
|
343 |
lineart_btn_visible = True if tab == "tab_lineart" else False
|
344 |
canny_btn_visible = True if tab == "tab_canny" else False
|
345 |
|
346 |
+
return ({"visible": lineart_btn_visible, "__type__": "update"}, {"visible": canny_btn_visible, "__type__": "update"})
|
347 |
|
348 |
run_btn_lineart = gr.Button("Run", visible=False)
|
349 |
run_btn_canny = gr.Button("Run", visible=False)
|