Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -323,7 +323,7 @@ with gr.Blocks(css=css, theme=theme) as demo:
|
|
323 |
with gr.Row():
|
324 |
with gr.Column():
|
325 |
input_image = gr.Image(type="pil", height=512)
|
326 |
-
run_button = gr.Button("π Magnify
|
327 |
duration_time = gr.Text(label="duration time", value=60, visible=False)
|
328 |
with gr.Accordion("Options", visible=False):
|
329 |
user_prompt = gr.Textbox(label="User Prompt", value="")
|
@@ -338,7 +338,7 @@ with gr.Blocks(css=css, theme=theme) as demo:
|
|
338 |
sample_times = gr.Slider(label="Sample Times", minimum=1, maximum=10, step=1, value=1)
|
339 |
latent_tiled_size = gr.Slider(label="Diffusion Tile Size", minimum=128, maximum=480, value=320, step=1)
|
340 |
latent_tiled_overlap = gr.Slider(label="Diffusion Tile Overlap", minimum=4, maximum=16, value=4, step=1)
|
341 |
-
scale_factor = gr.Number(label="SR Scale", value=
|
342 |
with gr.Column():
|
343 |
result_gallery = ImageSlider(
|
344 |
interactive=False,
|
|
|
323 |
with gr.Row():
|
324 |
with gr.Column():
|
325 |
input_image = gr.Image(type="pil", height=512)
|
326 |
+
run_button = gr.Button("π Magnify 2x", variant="primary")
|
327 |
duration_time = gr.Text(label="duration time", value=60, visible=False)
|
328 |
with gr.Accordion("Options", visible=False):
|
329 |
user_prompt = gr.Textbox(label="User Prompt", value="")
|
|
|
338 |
sample_times = gr.Slider(label="Sample Times", minimum=1, maximum=10, step=1, value=1)
|
339 |
latent_tiled_size = gr.Slider(label="Diffusion Tile Size", minimum=128, maximum=480, value=320, step=1)
|
340 |
latent_tiled_overlap = gr.Slider(label="Diffusion Tile Overlap", minimum=4, maximum=16, value=4, step=1)
|
341 |
+
scale_factor = gr.Number(label="SR Scale", value=2)
|
342 |
with gr.Column():
|
343 |
result_gallery = ImageSlider(
|
344 |
interactive=False,
|