Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ pipeline = AutoPipelineForImage2Image.from_pretrained(
|
|
9 |
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16", use_safetensors=True
|
10 |
)
|
11 |
pipeline.load_lora_weights('pytorch_lora_weights_00.safetensors')
|
12 |
-
_ = pipeline.to("cuda")
|
13 |
|
14 |
pipeline.enable_model_cpu_offload()
|
15 |
|
|
|
9 |
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16", use_safetensors=True
|
10 |
)
|
11 |
pipeline.load_lora_weights('pytorch_lora_weights_00.safetensors')
|
12 |
+
# _ = pipeline.to("cuda")
|
13 |
|
14 |
pipeline.enable_model_cpu_offload()
|
15 |
|