Spaces:
Build error
Build error
PatrickSchrML
commited on
Commit
•
87c6622
1
Parent(s):
05fd97a
Update app.py
Browse files
app.py
CHANGED
@@ -181,47 +181,40 @@ block = gr.Blocks(css=css)
|
|
181 |
|
182 |
examples = [
|
183 |
[
|
184 |
-
'a gorgeous female photo
|
185 |
-
|
186 |
50,
|
187 |
7.5,
|
|
|
|
|
|
|
|
|
188 |
1,
|
|
|
|
|
|
|
189 |
],
|
190 |
[
|
191 |
'portrait of girl with smokey eyes makeup in abandoned hotel, grange clothes, redshift, wide high angle coloured polaroid photograph with flash, kodak film, hyper real, stunning moody cinematography, with anamorphic lenses, by maripol, fallen angels by wong kar - wai, style of suspiria and neon demon and children from bahnhof zoo, detailed ',
|
192 |
-
|
193 |
50,
|
194 |
9,
|
195 |
364629028,
|
196 |
],
|
197 |
[
|
198 |
-
'
|
199 |
-
|
200 |
50,
|
201 |
7.5,
|
202 |
-
|
203 |
],
|
204 |
-
#[
|
205 |
-
# 'portrait of Sickly diseased dying Samurai warrior, sun shining, photo realistic illustration by greg rutkowski, thomas kindkade, alphonse mucha, loish, norman rockwell.',
|
206 |
-
# 2,
|
207 |
-
# 50,
|
208 |
-
# 7.5,
|
209 |
-
# 1,
|
210 |
-
#],
|
211 |
[
|
212 |
'a photograph by vanessa beecroft',
|
213 |
-
|
214 |
50,
|
215 |
7.5,
|
216 |
445713656,
|
217 |
],
|
218 |
-
[
|
219 |
-
'a disturbing horror photograph of a beautiful crying woman with flowers and fungus growing out of her head m, intricate, hyperrealism, sharp focus, cinematography, highly detailed, octane render, digital horror artwork, matte, photography by professional photographe',
|
220 |
-
2,
|
221 |
-
50,
|
222 |
-
7.5,
|
223 |
-
1,
|
224 |
-
],
|
225 |
]
|
226 |
|
227 |
with block:
|
@@ -271,7 +264,7 @@ with block:
|
|
271 |
|
272 |
gallery = gr.Gallery(
|
273 |
label="Generated images", show_label=False, elem_id="gallery"
|
274 |
-
).style(grid=[
|
275 |
|
276 |
with gr.Group(elem_id="container-advanced-btns"):
|
277 |
advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|
@@ -282,7 +275,7 @@ with block:
|
|
282 |
|
283 |
with gr.Row(elem_id="advanced-options"):
|
284 |
#gr.Markdown("Advanced settings are temporarily unavailable")
|
285 |
-
samples = gr.Slider(label="Images", minimum=1, maximum=
|
286 |
steps = gr.Slider(label="Steps", minimum=50, maximum=50, value=50, step=1)
|
287 |
scale = gr.Slider(
|
288 |
label="Guidance Scale", minimum=7.5, maximum=20, value=7.5, step=0.5
|
|
|
181 |
|
182 |
examples = [
|
183 |
[
|
184 |
+
'a gorgeous female photo',
|
185 |
+
1,
|
186 |
50,
|
187 |
7.5,
|
188 |
+
251815625,
|
189 |
+
],
|
190 |
+
[
|
191 |
+
'a gorgeous male photo',
|
192 |
1,
|
193 |
+
50,
|
194 |
+
7.5,
|
195 |
+
479079226,
|
196 |
],
|
197 |
[
|
198 |
'portrait of girl with smokey eyes makeup in abandoned hotel, grange clothes, redshift, wide high angle coloured polaroid photograph with flash, kodak film, hyper real, stunning moody cinematography, with anamorphic lenses, by maripol, fallen angels by wong kar - wai, style of suspiria and neon demon and children from bahnhof zoo, detailed ',
|
199 |
+
1,
|
200 |
50,
|
201 |
9,
|
202 |
364629028,
|
203 |
],
|
204 |
[
|
205 |
+
'portrait of Sickly diseased dying Samurai warrior, sun shining, photo realistic illustration by greg rutkowski, thomas kindkade, alphonse mucha, loish, norman rockwell.',
|
206 |
+
1,
|
207 |
50,
|
208 |
7.5,
|
209 |
+
1,
|
210 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
[
|
212 |
'a photograph by vanessa beecroft',
|
213 |
+
1,
|
214 |
50,
|
215 |
7.5,
|
216 |
445713656,
|
217 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
]
|
219 |
|
220 |
with block:
|
|
|
264 |
|
265 |
gallery = gr.Gallery(
|
266 |
label="Generated images", show_label=False, elem_id="gallery"
|
267 |
+
).style(grid=[1], height="auto")
|
268 |
|
269 |
with gr.Group(elem_id="container-advanced-btns"):
|
270 |
advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|
|
|
275 |
|
276 |
with gr.Row(elem_id="advanced-options"):
|
277 |
#gr.Markdown("Advanced settings are temporarily unavailable")
|
278 |
+
samples = gr.Slider(label="Images", minimum=1, maximum=1, value=2, step=1)
|
279 |
steps = gr.Slider(label="Steps", minimum=50, maximum=50, value=50, step=1)
|
280 |
scale = gr.Slider(
|
281 |
label="Guidance Scale", minimum=7.5, maximum=20, value=7.5, step=0.5
|