Spaces:
Sleeping
Sleeping
zhangyang-0123
commited on
Commit
·
a014349
1
Parent(s):
78ea680
fix app
Browse files
app.py
CHANGED
@@ -22,7 +22,6 @@ pruned_pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch
|
|
22 |
pruned_pipe.transformer = torch.load(
|
23 |
hf_hub_download("zhangyang-0123/EcoDiffPrunedModels", "model/sdxl/sdxl.pkl"),
|
24 |
map_location="cpu",
|
25 |
-
torch_dtype=torch_dtype,
|
26 |
)
|
27 |
pruned_pipe = pruned_pipe.to(device)
|
28 |
|
|
|
22 |
pruned_pipe.transformer = torch.load(
|
23 |
hf_hub_download("zhangyang-0123/EcoDiffPrunedModels", "model/sdxl/sdxl.pkl"),
|
24 |
map_location="cpu",
|
|
|
25 |
)
|
26 |
pruned_pipe = pruned_pipe.to(device)
|
27 |
|