Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ device = "cuda:0"
|
|
27 |
generator = torch.Generator(device=device)
|
28 |
|
29 |
|
30 |
-
models_path = snapshot_download(repo_id="Snapchat/w2w")
|
31 |
|
32 |
mean = torch.load(f"{models_path}/mean.pt").bfloat16().to(device)
|
33 |
std = torch.load(f"{models_path}/std.pt").bfloat16().to(device)
|
|
|
27 |
generator = torch.Generator(device=device)
|
28 |
|
29 |
|
30 |
+
models_path = snapshot_download(repo_id="Snapchat/w2w/files")
|
31 |
|
32 |
mean = torch.load(f"{models_path}/mean.pt").bfloat16().to(device)
|
33 |
std = torch.load(f"{models_path}/std.pt").bfloat16().to(device)
|