Spaces:
Runtime error
Runtime error
Commit
·
9001e49
1
Parent(s):
885b367
update
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ unet_dir = Path(model_path) / "unet"
|
|
46 |
scheduler_dir = Path(model_path) / "scheduler"
|
47 |
|
48 |
#device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
49 |
-
device =
|
50 |
|
51 |
|
52 |
def load_vae(vae_dir):
|
|
|
46 |
scheduler_dir = Path(model_path) / "scheduler"
|
47 |
|
48 |
#device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
49 |
+
device = devicetorch.get(torch)
|
50 |
|
51 |
|
52 |
def load_vae(vae_dir):
|