Commit
·
be84fc9
1
Parent(s):
80f9eef
28. Sept. 2024, 18:41
Browse files
app.py
CHANGED
|
@@ -332,8 +332,8 @@ with gr.Blocks(theme=theme, css=custom_css, js=custom_js, head=custom_head, titl
|
|
| 332 |
with gr.Column():
|
| 333 |
low_threshold = gr.Slider(label="low_threshold", minimum=1, maximum=255, value=100, step=1)
|
| 334 |
high_threshold = gr.Slider(label="high_threshold", minimum=1, maximum=255, value=200, step=1)
|
| 335 |
-
|
| 336 |
-
|
| 337 |
run_btn_lineart = gr.Button("Los", variant="primary", visible=True)
|
| 338 |
run_btn_canny = gr.Button("Los", variant="primary", visible=False)
|
| 339 |
|
|
|
|
| 332 |
with gr.Column():
|
| 333 |
low_threshold = gr.Slider(label="low_threshold", minimum=1, maximum=255, value=100, step=1)
|
| 334 |
high_threshold = gr.Slider(label="high_threshold", minimum=1, maximum=255, value=200, step=1)
|
| 335 |
+
|
| 336 |
+
resolution = gr.Slider(label="resolution", minimum=256, maximum=1024, value=512, step=64)
|
| 337 |
run_btn_lineart = gr.Button("Los", variant="primary", visible=True)
|
| 338 |
run_btn_canny = gr.Button("Los", variant="primary", visible=False)
|
| 339 |
|