Spaces:
Sleeping
Sleeping
Commit
•
a5454cf
1
Parent(s):
2130441
Update app.py
Browse files
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 =
|
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
|