Spaces:
Runtime error
Runtime error
alfredplpl
commited on
Commit
β’
0358a3a
1
Parent(s):
d59a5b8
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ compel = Compel(tokenizer=[pipe_normal.tokenizer, pipe_normal.tokenizer_2] ,
|
|
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 =
|
36 |
prompt_embeds=conditioning[0:1],
|
37 |
pooled_prompt_embeds=pooled[0:1],
|
38 |
negative_prompt_embeds=conditioning[1:2],
|
|
|
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],
|
37 |
pooled_prompt_embeds=pooled[0:1],
|
38 |
negative_prompt_embeds=conditioning[1:2],
|