Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
d30a852
1
Parent(s):
5f052af
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ def generate(
|
|
93 |
width=width,
|
94 |
height=height,
|
95 |
guidance_scale=guidance_scale,
|
96 |
-
num_inference_steps=
|
97 |
num_images_per_prompt=1,
|
98 |
output_type="pil",
|
99 |
).images
|
@@ -181,7 +181,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
181 |
step=0.1,
|
182 |
value=3.0,
|
183 |
)
|
184 |
-
|
185 |
label="Number of inference steps",
|
186 |
minimum=1,
|
187 |
maximum=40,
|
|
|
93 |
width=width,
|
94 |
height=height,
|
95 |
guidance_scale=guidance_scale,
|
96 |
+
num_inference_steps=28,
|
97 |
num_images_per_prompt=1,
|
98 |
output_type="pil",
|
99 |
).images
|
|
|
181 |
step=0.1,
|
182 |
value=3.0,
|
183 |
)
|
184 |
+
num_inference_steps = gr.Slider(
|
185 |
label="Number of inference steps",
|
186 |
minimum=1,
|
187 |
maximum=40,
|