Spaces:
Runtime error
Runtime error
Garrett Goon
commited on
Commit
·
ef5e1e6
1
Parent(s):
14b53b5
cleanup and more examples
Browse files- __pycache__/utils.cpython-38.pyc +0 -0
- app.py +25 -4
__pycache__/utils.cpython-38.pyc
ADDED
Binary file (1.99 kB). View file
|
|
app.py
CHANGED
@@ -229,12 +229,33 @@ examples = [
|
|
229 |
# 1024,
|
230 |
],
|
231 |
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
"Immense <det-logo> advanced technology scifi architectural structure desert planet alien wardrobe tim hildebrandt, wayne barlowe, bruce pennington, donato giancola, larry elmore, oil on canvas, masterpiece, trending on artstation, featured on pixiv, cinematic composition, dramatic, beautiful lighting",
|
233 |
# 4,
|
234 |
# 45,
|
235 |
# 7,
|
236 |
# 1024,
|
237 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
]
|
239 |
|
240 |
|
@@ -261,10 +282,10 @@ with block:
|
|
261 |
with gr.Box():
|
262 |
with gr.Row(elem_id="prompt-container").style(equal_height=True):
|
263 |
prompt = gr.Textbox(
|
264 |
-
label=
|
265 |
show_label=False,
|
266 |
max_lines=1,
|
267 |
-
placeholder=
|
268 |
elem_id="prompt-text-input",
|
269 |
).style(
|
270 |
container=False,
|
@@ -282,10 +303,10 @@ with block:
|
|
282 |
|
283 |
with gr.Row(elem_id="advanced-options"):
|
284 |
num_inference_steps = gr.Slider(
|
285 |
-
label="Steps", minimum=
|
286 |
)
|
287 |
guidance_scale = gr.Slider(
|
288 |
-
label="Guidance Scale", minimum=1.0, maximum=
|
289 |
)
|
290 |
seed = gr.Slider(
|
291 |
label="Seed",
|
|
|
229 |
# 1024,
|
230 |
],
|
231 |
[
|
232 |
+
"a surreal Salvador Dali painting of a <det-logo>, soft blended colors",
|
233 |
+
# 4,
|
234 |
+
# 45,
|
235 |
+
# 7,
|
236 |
+
# 1024,
|
237 |
+
],
|
238 |
+
[
|
239 |
+
"a simple and atmospheric watercolour <det-logo>, very muted colors, by rebecca guay, michael kaluta, charles vess and jean moebius giraud",
|
240 |
+
# 4,
|
241 |
+
# 45,
|
242 |
+
# 7,
|
243 |
+
# 1024,
|
244 |
+
],
|
245 |
+
[
|
246 |
"Immense <det-logo> advanced technology scifi architectural structure desert planet alien wardrobe tim hildebrandt, wayne barlowe, bruce pennington, donato giancola, larry elmore, oil on canvas, masterpiece, trending on artstation, featured on pixiv, cinematic composition, dramatic, beautiful lighting",
|
247 |
# 4,
|
248 |
# 45,
|
249 |
# 7,
|
250 |
# 1024,
|
251 |
],
|
252 |
+
[
|
253 |
+
"a dark Rembrant painting of a <det-logo>, incredible composition, masterpiece",
|
254 |
+
# 4,
|
255 |
+
# 45,
|
256 |
+
# 7,
|
257 |
+
# 1024,
|
258 |
+
],
|
259 |
]
|
260 |
|
261 |
|
|
|
282 |
with gr.Box():
|
283 |
with gr.Row(elem_id="prompt-container").style(equal_height=True):
|
284 |
prompt = gr.Textbox(
|
285 |
+
label='Enter a prompt including "<det-logo>"',
|
286 |
show_label=False,
|
287 |
max_lines=1,
|
288 |
+
placeholder='Enter a prompt including "<det-logo>"',
|
289 |
elem_id="prompt-text-input",
|
290 |
).style(
|
291 |
container=False,
|
|
|
303 |
|
304 |
with gr.Row(elem_id="advanced-options"):
|
305 |
num_inference_steps = gr.Slider(
|
306 |
+
label="Steps", minimum=1, maximum=80, value=40, step=1
|
307 |
)
|
308 |
guidance_scale = gr.Slider(
|
309 |
+
label="Guidance Scale", minimum=1.0, maximum=25.0, value=4.0, step=0.1
|
310 |
)
|
311 |
seed = gr.Slider(
|
312 |
label="Seed",
|