Spaces:
Sleeping
Sleeping
Commit
•
1cd10c1
1
Parent(s):
4ed3fa9
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def merge_and_run(prompt, negative_prompt, shuffled_items, lora_1_scale=0.5, lor
|
|
68 |
if negative_prompt == "":
|
69 |
negative_prompt = False
|
70 |
|
71 |
-
image = pipe(prompt=prompt, negative_prompt=negative_prompt, num_inference_steps=
|
72 |
del pipe
|
73 |
gc.collect()
|
74 |
torch.cuda.empty_cache()
|
|
|
68 |
if negative_prompt == "":
|
69 |
negative_prompt = False
|
70 |
|
71 |
+
image = pipe(prompt=prompt, negative_prompt=negative_prompt, num_inference_steps=20, width=768, height=768).images[0]
|
72 |
del pipe
|
73 |
gc.collect()
|
74 |
torch.cuda.empty_cache()
|