Spaces:
Runtime error
Runtime error
dreamdrop-art
commited on
Commit
•
d220055
1
Parent(s):
b4f4583
Update app.py
Browse files
app.py
CHANGED
@@ -481,10 +481,11 @@ with gr.Blocks(css=css) as demo:
|
|
481 |
<h1><center>Upscaler</center></h1>
|
482 |
""")
|
483 |
with gr.Row():
|
484 |
-
us_input = gr.Image(show_label=False, interactive=True)
|
485 |
-
|
486 |
-
us_button = gr.Button(value="Generate with Upscaler", variant="primary")
|
487 |
-
|
|
|
488 |
send_to_img2img_us = gr.Button(value="Send UPSCALED IMAGE to img2img")
|
489 |
us_past = gr.Image(interactive=False, visible=False)
|
490 |
|
|
|
481 |
<h1><center>Upscaler</center></h1>
|
482 |
""")
|
483 |
with gr.Row():
|
484 |
+
us_input = gr.Image(show_label=False, interactive=True, scale=10)
|
485 |
+
us_radio = gr.Radio(label="Upscale Levels", choices=[2, 4, 6, 8, 10], value=2, scale=5)
|
486 |
+
us_button = gr.Button(value="Generate with Upscaler", variant="primary", scale=5)
|
487 |
+
with gr.Column(scale=1)
|
488 |
+
us_output = gr.Gallery(show_label=False, rows=3, preview=True, scale=1)
|
489 |
send_to_img2img_us = gr.Button(value="Send UPSCALED IMAGE to img2img")
|
490 |
us_past = gr.Image(interactive=False, visible=False)
|
491 |
|