alfredplpl commited on
Commit
8a13ff7
Β·
verified Β·
1 Parent(s): 939b688

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ compel = Compel(tokenizer=[pipe_normal.tokenizer, pipe_normal.tokenizer_2] ,
33
  @spaces.GPU
34
  def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
35
  conditioning, pooled = compel(prompt)
36
- negative_conditioning, negatice_pooled = compel("(unaestheticXLv31)++, "+negative_prompt)
37
  result = pipe_normal(
38
  prompt_embeds=conditioning,
39
  pooled_prompt_embeds=pooled,
 
33
  @spaces.GPU
34
  def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progress(track_tqdm=True)):
35
  conditioning, pooled = compel(prompt)
36
+ negative_conditioning, negatice_pooled = compel("(unaestheticXLv31)++, (bad hand)++, (bad anatomy)++, (low quality)++"+negative_prompt)
37
  result = pipe_normal(
38
  prompt_embeds=conditioning,
39
  pooled_prompt_embeds=pooled,