Spaces:
Runtime error
Runtime error
Commit
•
f1f7ebd
1
Parent(s):
b626f76
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
|
|
39 |
vae=vae,
|
40 |
torch_dtype=torch.float16,
|
41 |
).to("cpu")
|
42 |
-
original_pipe = copy.deepcopy(
|
43 |
pipe.to("cuda")
|
44 |
|
45 |
last_lora = ""
|
|
|
39 |
vae=vae,
|
40 |
torch_dtype=torch.float16,
|
41 |
).to("cpu")
|
42 |
+
original_pipe = copy.deepcopy(pipe)
|
43 |
pipe.to("cuda")
|
44 |
|
45 |
last_lora = ""
|