Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -239,7 +239,7 @@ def img_to_img(model_path, prompt, neg_prompt, img, strength, guidance, steps, w
|
|
239 |
|
240 |
if torch.cuda.is_available():
|
241 |
pipe0 = pipe0.to("cuda")
|
242 |
-
pipe0.enable_xformers_memory_efficient_attention()
|
243 |
last_mode = "img2img"
|
244 |
|
245 |
prompt = current_model.prefix + prompt
|
|
|
239 |
|
240 |
if torch.cuda.is_available():
|
241 |
pipe0 = pipe0.to("cuda")
|
242 |
+
#pipe0.enable_xformers_memory_efficient_attention()
|
243 |
last_mode = "img2img"
|
244 |
|
245 |
prompt = current_model.prefix + prompt
|