multimodalart HF staff commited on
Commit
a5454cf
1 Parent(s): 2130441

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def merge_and_run(prompt, negative_prompt, shuffled_items, lora_1_scale=0.5, lor
67
  pipe.fuse_lora(lora_2_scale)
68
 
69
  if negative_prompt == "":
70
- negative_prompt = False
71
 
72
  image = pipe(prompt=prompt, negative_prompt=negative_prompt, num_inference_steps=20, width=768, height=768).images[0]
73
  del pipe
 
67
  pipe.fuse_lora(lora_2_scale)
68
 
69
  if negative_prompt == "":
70
+ negative_prompt = None
71
 
72
  image = pipe(prompt=prompt, negative_prompt=negative_prompt, num_inference_steps=20, width=768, height=768).images[0]
73
  del pipe