Spaces:
Runtime error
Runtime error
alfredplpl
commited on
Commit
โข
c8c57a4
1
Parent(s):
c59d86a
Update app.py
Browse files
app.py
CHANGED
@@ -32,6 +32,8 @@ compel = Compel(tokenizer=[pipe_normal.tokenizer, pipe_normal.tokenizer_2] ,
|
|
32 |
|
33 |
@spaces.GPU
|
34 |
def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
|
|
|
|
|
35 |
if(prompt==""):
|
36 |
conditioning, pooled = compel("1girl, (upper body)++, brown bob short hair, brown eyes, looking at viewer, cherry blossom")
|
37 |
else:
|
|
|
32 |
|
33 |
@spaces.GPU
|
34 |
def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
|
35 |
+
# ใฆใผใถใผใฎ่ไฝๆจฉไพตๅฎณใ้ฒใใใฃใซใฟใผ
|
36 |
+
prompt=prompt.replace("pokemon","")
|
37 |
if(prompt==""):
|
38 |
conditioning, pooled = compel("1girl, (upper body)++, brown bob short hair, brown eyes, looking at viewer, cherry blossom")
|
39 |
else:
|