Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ compel = Compel(tokenizer=[pipe_normal.tokenizer, pipe_normal.tokenizer_2] ,
|
|
30 |
|
31 |
@spaces.GPU
|
32 |
def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
|
33 |
-
conditioning, pooled = compel([prompt, "unaestheticXLv31
|
34 |
|
35 |
result = pipe_normal(
|
36 |
prompt_embeds=conditioning[0:1],
|
@@ -51,7 +51,7 @@ margin: 0 auto;
|
|
51 |
}
|
52 |
'''
|
53 |
|
54 |
-
normal_examples = ["1girl
|
55 |
with gr.Blocks(css=css) as demo:
|
56 |
gr.Markdown('''# Emi 2
|
57 |
Official demo for Emi 2
|
|
|
30 |
|
31 |
@spaces.GPU
|
32 |
def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
|
33 |
+
conditioning, pooled = compel([prompt, "unaestheticXLv31++, "+negative_prompt])
|
34 |
|
35 |
result = pipe_normal(
|
36 |
prompt_embeds=conditioning[0:1],
|
|
|
51 |
}
|
52 |
'''
|
53 |
|
54 |
+
normal_examples = ["1girl++, (upper body)++, brown bob short hair, brown eyes, looking at viewer, (white background, simple background)++","1girl++, (full body)++, brown bob short hair, brown eyes, school uniform, (white background, simple background)++"]
|
55 |
with gr.Blocks(css=css) as demo:
|
56 |
gr.Markdown('''# Emi 2
|
57 |
Official demo for Emi 2
|