Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
b95c4ca
1
Parent(s):
b66d35b
Update app.py
Browse files
app.py
CHANGED
@@ -171,15 +171,15 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme", js=js_func) as demo:
|
|
171 |
value="Realism : V4.0_Lightning"
|
172 |
)
|
173 |
|
174 |
-
with gr.Accordion("Advanced options", open=True
|
175 |
num_images = gr.Slider(
|
176 |
label="Number of Images",
|
177 |
minimum=1,
|
178 |
maximum=4,
|
179 |
step=1,
|
180 |
-
value=
|
181 |
)
|
182 |
-
with gr.Row(
|
183 |
with gr.Column(scale=1):
|
184 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
185 |
negative_prompt = gr.Text(
|
@@ -198,7 +198,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme", js=js_func) as demo:
|
|
198 |
value=0,
|
199 |
)
|
200 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
201 |
-
with gr.Row(
|
202 |
width = gr.Slider(
|
203 |
label="Width",
|
204 |
minimum=512,
|
@@ -213,7 +213,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme", js=js_func) as demo:
|
|
213 |
step=64,
|
214 |
value=1024,
|
215 |
)
|
216 |
-
with gr.Row(
|
217 |
guidance_scale = gr.Slider(
|
218 |
label="Guidance Scale",
|
219 |
minimum=0.1,
|
|
|
171 |
value="Realism : V4.0_Lightning"
|
172 |
)
|
173 |
|
174 |
+
with gr.Accordion("Advanced options", open=True):
|
175 |
num_images = gr.Slider(
|
176 |
label="Number of Images",
|
177 |
minimum=1,
|
178 |
maximum=4,
|
179 |
step=1,
|
180 |
+
value=2,
|
181 |
)
|
182 |
+
with gr.Row():
|
183 |
with gr.Column(scale=1):
|
184 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
185 |
negative_prompt = gr.Text(
|
|
|
198 |
value=0,
|
199 |
)
|
200 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
201 |
+
with gr.Row():
|
202 |
width = gr.Slider(
|
203 |
label="Width",
|
204 |
minimum=512,
|
|
|
213 |
step=64,
|
214 |
value=1024,
|
215 |
)
|
216 |
+
with gr.Row():
|
217 |
guidance_scale = gr.Slider(
|
218 |
label="Guidance Scale",
|
219 |
minimum=0.1,
|