philipp-zettl commited on
Commit
13518e4
1 Parent(s): 223ef25

fix invalid variable name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def generate(prompt, negative_prompt, num_inference_steps, guidance_scale, width
43
  prompt_embeds, neg_prompt_embeds = build_embeddings(prompt, negative_prompt)
44
  return pipe(
45
  prompt_embeds=prompt_embeds,
46
- negative_prompt_embeds=negative_prompt_embeds,
47
  num_inference_steps=num_inference_steps,
48
  guidance_scale=guidance_scale,
49
  width=width,
 
43
  prompt_embeds, neg_prompt_embeds = build_embeddings(prompt, negative_prompt)
44
  return pipe(
45
  prompt_embeds=prompt_embeds,
46
+ negative_prompt_embeds=neg_prompt_embeds,
47
  num_inference_steps=num_inference_steps,
48
  guidance_scale=guidance_scale,
49
  width=width,