Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
eb4ab2a
1
Parent(s):
1ecbf54
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progr
|
|
44 |
for word in words:
|
45 |
prompt=prompt.replace(word,"")
|
46 |
if(prompt==""):
|
47 |
-
conditioning, pooled = compel("1girl, (upper body)++, brown bob short hair, brown eyes, looking at viewer,
|
48 |
else:
|
49 |
conditioning, pooled = compel(prompt)
|
50 |
negative_conditioning, negatice_pooled = compel("(unaestheticXLv31)++++, (unaestheticXL_Alb2)++++, bad hands, bad anatomy, low quality, 3d, photo, realism, text, sign, "+negative_prompt)
|
@@ -68,12 +68,12 @@ margin: 0 auto;
|
|
68 |
'''
|
69 |
|
70 |
normal_examples = [
|
71 |
-
"1girl, (upper body)++, brown bob short hair, brown eyes, looking at viewer,
|
72 |
-
"1girl, (full body)++, brown bob short hair, brown eyes, school uniform,
|
73 |
"no humans, manga, black and white, monochrome, Mt. fuji, 4k, highly detailed",
|
74 |
"no humans, manga, black and white, monochrome, Shibuya street, 4k, highly detailed",
|
75 |
-
"1boy, (upper body)++, silver very short hair,
|
76 |
-
"1boy, (full body)++, silver very short hair,
|
77 |
]
|
78 |
|
79 |
with gr.Blocks(css=css) as demo:
|
|
|
44 |
for word in words:
|
45 |
prompt=prompt.replace(word,"")
|
46 |
if(prompt==""):
|
47 |
+
conditioning, pooled = compel("1girl, (upper body)++, brown bob short hair, brown eyes, looking at viewer, blue and purple hydrangea")
|
48 |
else:
|
49 |
conditioning, pooled = compel(prompt)
|
50 |
negative_conditioning, negatice_pooled = compel("(unaestheticXLv31)++++, (unaestheticXL_Alb2)++++, bad hands, bad anatomy, low quality, 3d, photo, realism, text, sign, "+negative_prompt)
|
|
|
68 |
'''
|
69 |
|
70 |
normal_examples = [
|
71 |
+
"1girl, (upper body)++, brown bob short hair, brown eyes, looking at viewer, blue and purple hydrangea",
|
72 |
+
"1girl, (full body)++, brown bob short hair, brown eyes, school uniform, blue and purple hydrangea",
|
73 |
"no humans, manga, black and white, monochrome, Mt. fuji, 4k, highly detailed",
|
74 |
"no humans, manga, black and white, monochrome, Shibuya street, 4k, highly detailed",
|
75 |
+
"1boy, (upper body)++, silver very short hair, blue eyes, looking at viewer, white background",
|
76 |
+
"1boy, (full body)++, silver very short hair, blue eyes, looking at viewer, white background",
|
77 |
]
|
78 |
|
79 |
with gr.Blocks(css=css) as demo:
|