Spaces:
Menyu
/
Running on Zero

Menyu commited on
Commit
c634f9d
1 Parent(s): 6954365

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def infer(
46
  seed = int(randomize_seed_fn(seed, randomize_seed))
47
  generator = torch.Generator().manual_seed(seed)
48
 
49
- (prompt_embeds, prompt_neg_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds) = get_weighted_text_embeddings_sdxl(pipe, prompt = prompt, negative_prompt = negative_prompt)
50
  image = pipe(
51
  prompt_embeds = prompt_embeds,
52
  negative_prompt_embeds = prompt_neg_embeds,
 
46
  seed = int(randomize_seed_fn(seed, randomize_seed))
47
  generator = torch.Generator().manual_seed(seed)
48
 
49
+ (prompt_embeds, prompt_neg_embeds, pooled_prompt_embeds, negative_pooled_prompt_embeds) = get_weighted_text_embeddings_sdxl(pipe, prompt = prompt, neg_prompt = negative_prompt)
50
  image = pipe(
51
  prompt_embeds = prompt_embeds,
52
  negative_prompt_embeds = prompt_neg_embeds,