Spaces:
Running
Running
Mocci lutha
commited on
Commit
·
d3b8ce3
1
Parent(s):
3a94acf
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,6 @@ if __name__ == '__main__':
|
|
117 |
author = info.get("author", None)
|
118 |
cover = f"weights/{name}/{info['cover']}"
|
119 |
index = f"weights/{name}/{info['feature_retrieval_library']}"
|
120 |
-
npy = f"weights/{name}/{info['feature_file']}"
|
121 |
cpt = torch.load(f"weights/{name}/{name}.pth", map_location="cpu")
|
122 |
tgt_sr = cpt["config"][-1]
|
123 |
cpt["config"][-3] = cpt["weight"]["emb_g.weight"].shape[0] # n_spk
|
|
|
117 |
author = info.get("author", None)
|
118 |
cover = f"weights/{name}/{info['cover']}"
|
119 |
index = f"weights/{name}/{info['feature_retrieval_library']}"
|
|
|
120 |
cpt = torch.load(f"weights/{name}/{name}.pth", map_location="cpu")
|
121 |
tgt_sr = cpt["config"][-1]
|
122 |
cpt["config"][-3] = cpt["weight"]["emb_g.weight"].shape[0] # n_spk
|