Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
ccfa487
1
Parent(s):
86358c2
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ def generate(
|
|
100 |
num_inference_steps: int = 25,
|
101 |
randomize_seed: bool = False,
|
102 |
use_resolution_binning: bool = True,
|
103 |
-
num_images: int =
|
104 |
progress=gr.Progress(track_tqdm=True),
|
105 |
):
|
106 |
global models
|
@@ -176,9 +176,9 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme", js=js_func) as demo:
|
|
176 |
num_images = gr.Slider(
|
177 |
label="Number of Images",
|
178 |
minimum=1,
|
179 |
-
maximum=
|
180 |
step=1,
|
181 |
-
value=
|
182 |
)
|
183 |
with gr.Row():
|
184 |
with gr.Column(scale=1):
|
|
|
100 |
num_inference_steps: int = 25,
|
101 |
randomize_seed: bool = False,
|
102 |
use_resolution_binning: bool = True,
|
103 |
+
num_images: int = 1,
|
104 |
progress=gr.Progress(track_tqdm=True),
|
105 |
):
|
106 |
global models
|
|
|
176 |
num_images = gr.Slider(
|
177 |
label="Number of Images",
|
178 |
minimum=1,
|
179 |
+
maximum=1,
|
180 |
step=1,
|
181 |
+
value=1,
|
182 |
)
|
183 |
with gr.Row():
|
184 |
with gr.Column(scale=1):
|