Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -82,26 +82,26 @@ with gr.Blocks() as demo:
|
|
82 |
|
83 |
width = gr.Slider(
|
84 |
label="Width",
|
85 |
-
minimum=
|
86 |
maximum=MAX_IMAGE_SIZE,
|
87 |
step=32,
|
88 |
-
value=
|
89 |
)
|
90 |
|
91 |
height = gr.Slider(
|
92 |
label="Height",
|
93 |
-
minimum=
|
94 |
maximum=MAX_IMAGE_SIZE,
|
95 |
step=32,
|
96 |
-
value=
|
97 |
)
|
98 |
|
99 |
with gr.Row():
|
100 |
|
101 |
guidance_scale = gr.Slider(
|
102 |
label="Guidance scale",
|
103 |
-
minimum=
|
104 |
-
maximum=
|
105 |
step=0.1,
|
106 |
value=3.0,
|
107 |
)
|
|
|
82 |
|
83 |
width = gr.Slider(
|
84 |
label="Width",
|
85 |
+
minimum=256,
|
86 |
maximum=MAX_IMAGE_SIZE,
|
87 |
step=32,
|
88 |
+
value=480,
|
89 |
)
|
90 |
|
91 |
height = gr.Slider(
|
92 |
label="Height",
|
93 |
+
minimum=256,
|
94 |
maximum=MAX_IMAGE_SIZE,
|
95 |
step=32,
|
96 |
+
value=480,
|
97 |
)
|
98 |
|
99 |
with gr.Row():
|
100 |
|
101 |
guidance_scale = gr.Slider(
|
102 |
label="Guidance scale",
|
103 |
+
minimum=1.0,
|
104 |
+
maximum=6.0,
|
105 |
step=0.1,
|
106 |
value=3.0,
|
107 |
)
|