Spaces:
Running
Running
fix a typo on width parameter
Browse files- gradio_demo/app.py +2 -2
gradio_demo/app.py
CHANGED
@@ -197,7 +197,7 @@ with gr.Blocks() as demo:
|
|
197 |
|
198 |
with gr.Row():
|
199 |
height = gr.Number(label="Height", value=1024, step=1)
|
200 |
-
|
201 |
seed = gr.Number(label="Seed", value=42, step=1)
|
202 |
# guidance_start = gr.Slider(label="Guidance Start", value=1.0, minimum=0.0, maximum=1.0, step=0.05)
|
203 |
guidance_end = gr.Slider(label="Start Free Rendering", value=30, minimum=0, maximum=30, step=1)
|
@@ -222,7 +222,7 @@ with gr.Blocks() as demo:
|
|
222 |
restore_btn.click(
|
223 |
instantir_restore, inputs=[
|
224 |
lq_img, prompt, steps, cfg_scale, guidance_end,
|
225 |
-
mode, seed, height,
|
226 |
],
|
227 |
outputs=[output, pipe_out], api_name="InstantIR"
|
228 |
)
|
|
|
197 |
|
198 |
with gr.Row():
|
199 |
height = gr.Number(label="Height", value=1024, step=1)
|
200 |
+
width = gr.Number(label="Width", value=1024, step=1)
|
201 |
seed = gr.Number(label="Seed", value=42, step=1)
|
202 |
# guidance_start = gr.Slider(label="Guidance Start", value=1.0, minimum=0.0, maximum=1.0, step=0.05)
|
203 |
guidance_end = gr.Slider(label="Start Free Rendering", value=30, minimum=0, maximum=30, step=1)
|
|
|
222 |
restore_btn.click(
|
223 |
instantir_restore, inputs=[
|
224 |
lq_img, prompt, steps, cfg_scale, guidance_end,
|
225 |
+
mode, seed, height, width, preview_start,
|
226 |
],
|
227 |
outputs=[output, pipe_out], api_name="InstantIR"
|
228 |
)
|