alfredplpl
commited on
Commit
·
e525a16
1
Parent(s):
b2a1f48
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def inference(prompt, guidance, steps, image_size="Square", seed=0, img=None, st
|
|
51 |
else:
|
52 |
height=768
|
53 |
width=768
|
54 |
-
pipe.
|
55 |
|
56 |
print(prompt,neg_prompt)
|
57 |
|
|
|
51 |
else:
|
52 |
height=768
|
53 |
width=768
|
54 |
+
pipe.enable_attention_slicing()
|
55 |
|
56 |
print(prompt,neg_prompt)
|
57 |
|