Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
7b18435
1
Parent(s):
8a8852c
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def generate(
|
|
118 |
width=width,
|
119 |
height=height,
|
120 |
guidance_scale=guidance_scale,
|
121 |
-
num_inference_steps=
|
122 |
num_images_per_prompt=1,
|
123 |
cross_attention_kwargs={"scale": 0.65},
|
124 |
output_type="pil",
|
@@ -195,14 +195,14 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
195 |
label="Width",
|
196 |
minimum=512,
|
197 |
maximum=2048,
|
198 |
-
step=
|
199 |
value=1024,
|
200 |
)
|
201 |
height = gr.Slider(
|
202 |
label="Height",
|
203 |
minimum=512,
|
204 |
maximum=2048,
|
205 |
-
step=
|
206 |
value=1024,
|
207 |
)
|
208 |
|
|
|
118 |
width=width,
|
119 |
height=height,
|
120 |
guidance_scale=guidance_scale,
|
121 |
+
num_inference_steps=16,
|
122 |
num_images_per_prompt=1,
|
123 |
cross_attention_kwargs={"scale": 0.65},
|
124 |
output_type="pil",
|
|
|
195 |
label="Width",
|
196 |
minimum=512,
|
197 |
maximum=2048,
|
198 |
+
step=64,
|
199 |
value=1024,
|
200 |
)
|
201 |
height = gr.Slider(
|
202 |
label="Height",
|
203 |
minimum=512,
|
204 |
maximum=2048,
|
205 |
+
step=64,
|
206 |
value=1024,
|
207 |
)
|
208 |
|