Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,6 +36,7 @@ pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
|
| 36 |
#<lora:RearViewXlV2-CruzFlesh:0.75>, hairy ass, asshole
|
| 37 |
|
| 38 |
#pipe.load_lora_weights("Bear.safetensors")
|
|
|
|
| 39 |
pipe = pipe.to(device)
|
| 40 |
|
| 41 |
|
|
|
|
| 36 |
#<lora:RearViewXlV2-CruzFlesh:0.75>, hairy ass, asshole
|
| 37 |
|
| 38 |
#pipe.load_lora_weights("Bear.safetensors")
|
| 39 |
+
pipe.enable_model_cpu_offload()
|
| 40 |
pipe = pipe.to(device)
|
| 41 |
|
| 42 |
|