alfredplpl commited on
Commit
0358a3a
β€’
1 Parent(s): d59a5b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = pipe(
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],