Update app.py
Browse files
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,
|
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,
|