Spaces:
Running
Running
remove default models and limitations
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .vscode/settings.json +6 -0
- app.py +0 -7
- weights/.gitkeep +0 -0
- weights/A/A.index +0 -3
- weights/A/A_e200.pth +0 -3
- weights/AA/AA.index +0 -3
- weights/AA/AA_e250.pth +0 -3
- weights/B/B.index +0 -3
- weights/B/B.pth +0 -3
- weights/BB/BB.index +0 -3
- weights/BB/BB_e300.pth +0 -3
- weights/C/C.index +0 -3
- weights/C/C_e250.pth +0 -3
- weights/CC/CC.index +0 -3
- weights/CC/CC_e200.pth +0 -3
- weights/D/D.index +0 -3
- weights/D/D.pth +0 -3
- weights/DD/DD.index +0 -3
- weights/DD/DD_e200.pth +0 -3
- weights/E/E.index +0 -3
- weights/E/E.pth +0 -3
- weights/EE/EE.index +0 -3
- weights/EE/EE_e200.pth +0 -3
- weights/F/F.index +0 -3
- weights/F/F.pth +0 -3
- weights/FF/FF.index +0 -3
- weights/FF/FF_e300.pth +0 -3
- weights/G/G.index +0 -3
- weights/G/G.pth +0 -3
- weights/GG/GG.index +0 -3
- weights/GG/GG_e200.pth +0 -3
- weights/H/H.index +0 -3
- weights/H/H.pth +0 -3
- weights/HH/HH.index +0 -3
- weights/HH/HH_e300.pth +0 -3
- weights/I/I.index +0 -3
- weights/I/I.pth +0 -3
- weights/II/II.index +0 -3
- weights/II/II_e200.pth +0 -3
- weights/J/J.index +0 -3
- weights/J/J.pth +0 -3
- weights/JJ/JJ.index +0 -3
- weights/JJ/JJ_e100.pth +0 -3
- weights/K/K.index +0 -3
- weights/K/K.pth +0 -3
- weights/KK/KK.index +0 -3
- weights/KK/KK_e300.pth +0 -3
- weights/L/L.index +0 -3
- weights/L/L.pth +0 -3
- weights/LL/LL.index +0 -3
.vscode/settings.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[python]": {
|
3 |
+
"editor.defaultFormatter": "ms-python.black-formatter"
|
4 |
+
},
|
5 |
+
"python.formatting.provider": "none"
|
6 |
+
}
|
app.py
CHANGED
@@ -144,13 +144,6 @@ def tts(
|
|
144 |
audio, sr = librosa.load(edge_output_filename, sr=16000, mono=True)
|
145 |
duration = len(audio) / sr
|
146 |
print(f"Audio duration: {duration}s")
|
147 |
-
if limitation and duration >= 20:
|
148 |
-
print("Error: Audio too long")
|
149 |
-
return (
|
150 |
-
f"Audio should be less than 20 seconds in this huggingface space, but got {duration}s.",
|
151 |
-
edge_output_filename,
|
152 |
-
None,
|
153 |
-
)
|
154 |
f0_up_key = int(f0_up_key)
|
155 |
|
156 |
tgt_sr, net_g, vc, version, index_file, if_f0 = model_data(model_name)
|
|
|
144 |
audio, sr = librosa.load(edge_output_filename, sr=16000, mono=True)
|
145 |
duration = len(audio) / sr
|
146 |
print(f"Audio duration: {duration}s")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
f0_up_key = int(f0_up_key)
|
148 |
|
149 |
tgt_sr, net_g, vc, version, index_file, if_f0 = model_data(model_name)
|
weights/.gitkeep
ADDED
File without changes
|
weights/A/A.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:53ac3fd8f39f5f43f601543b7da9dc06e9ed3a0bd018f36529ffa753d857a137
|
3 |
-
size 502751619
|
|
|
|
|
|
|
|
weights/A/A_e200.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ef7903eca213294021eb2c621333928b35d0715b9278c6135ee677775592bafd
|
3 |
-
size 55231605
|
|
|
|
|
|
|
|
weights/AA/AA.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:bf7a4ec5d4d05cb4f693442778a06d996385282cbf40df9f68584228feb4b23b
|
3 |
-
size 537201419
|
|
|
|
|
|
|
|
weights/AA/AA_e250.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:50748863c8023dd1f61233a81d347238fe602b79d965afefd3bcde4bb5362828
|
3 |
-
size 55232982
|
|
|
|
|
|
|
|
weights/B/B.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:52d64f50ebed5c8d9840ed0d2b734f61460bff7686399d04efb2dcc1e35c31dd
|
3 |
-
size 555006899
|
|
|
|
|
|
|
|
weights/B/B.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:c00c78133e60e66e918d2077ccf50dd95e2cdab3eb41b33801d61fbb82c52be0
|
3 |
-
size 55220092
|
|
|
|
|
|
|
|
weights/BB/BB.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:91d7e8ef0476e9ca8fc5c17341621d5f2b97199698ffcb84d91a31fda4111219
|
3 |
-
size 498698339
|
|
|
|
|
|
|
|
weights/BB/BB_e300.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:a6a1378f9ab637e9b5308ff8617735934a12c0e9d99fc24db586e0c8527d5a80
|
3 |
-
size 55232523
|
|
|
|
|
|
|
|
weights/C/C.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:8d23b9ade976612ac139c33f7f356df9713b0ba544edf3820c01f80cf6978fcc
|
3 |
-
size 523615539
|
|
|
|
|
|
|
|
weights/C/C_e250.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:e49f075933d6f801ebf3003395b270a9f57fdac1420d911ae334867a9392853b
|
3 |
-
size 55233900
|
|
|
|
|
|
|
|
weights/CC/CC.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:20c6154bd716b02069708ddd25ec54083d2d517ccaee1a67a7bd292ea1d6b631
|
3 |
-
size 466130419
|
|
|
|
|
|
|
|
weights/CC/CC_e200.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d863a2f89a32575975494011f2dd4e93550722522251c2fcc69e0313b3428795
|
3 |
-
size 55232982
|
|
|
|
|
|
|
|
weights/D/D.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:a7912aa4f47471a3d133425416dcb157541f5b68473644589be7f5207ba12cbd
|
3 |
-
size 454130739
|
|
|
|
|
|
|
|
weights/D/D.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:bc0191b5447a8a1e884198b9465db54fb4da91b07f25a684d43f39688a6c8343
|
3 |
-
size 55232523
|
|
|
|
|
|
|
|
weights/DD/DD.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f902cd6e3d87542ef3d9d0d942c67d1be2eb0a7159d84219369652a697fcf595
|
3 |
-
size 438225619
|
|
|
|
|
|
|
|
weights/DD/DD_e200.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:df285d86be7175af985455d2529db17a6719c3084ce17c03dd47a7808062ebfe
|
3 |
-
size 55232523
|
|
|
|
|
|
|
|
weights/E/E.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:7696dcf139d2cb651d2b5b90a59c821547f9e4da60bba3fddcabb2ff001ab499
|
3 |
-
size 522666899
|
|
|
|
|
|
|
|
weights/E/E.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ebb0c306d9a2bd62219642d285dc332b015c54c41a7786ef8683d49ef3403449
|
3 |
-
size 55235736
|
|
|
|
|
|
|
|
weights/EE/EE.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:03383ab3ced21b7dbe6ee74b3713d2bfc277644b834e5510613da61faca098a7
|
3 |
-
size 508825379
|
|
|
|
|
|
|
|
weights/EE/EE_e200.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d3f4c706781548120402281d259c5c912dc4d9846a6a81856ef2c4332d6ccb6d
|
3 |
-
size 55231605
|
|
|
|
|
|
|
|
weights/F/F.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:30377ff78bd29cd8aa92fb81545e94fd6328d631cfc813406fdd11ec0e677c1e
|
3 |
-
size 553922739
|
|
|
|
|
|
|
|
weights/F/F.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5e2dba6a9eb4cd38d5d875dbbee52dc462378f2187012f9519f1347a6fd55040
|
3 |
-
size 55232064
|
|
|
|
|
|
|
|
weights/FF/FF.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:586dd540bc384163e2107df8b48c2a1d21cc1e89b5eef1c050d0dc12544ebd24
|
3 |
-
size 508489659
|
|
|
|
|
|
|
|
weights/FF/FF_e300.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:3f1f037b3c249418806317a14dd12d5fcabef908a52bc2f1ba2c83ca34569d49
|
3 |
-
size 55232064
|
|
|
|
|
|
|
|
weights/G/G.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ec395d5c1cc6897a4422a692518ba2abcb0988177cd9ba226f7714645e66b126
|
3 |
-
size 343771259
|
|
|
|
|
|
|
|
weights/G/G.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:23ed8ea741b0452027031fcc6b11c325acb7a1415685b07db650aff5558253a0
|
3 |
-
size 55232064
|
|
|
|
|
|
|
|
weights/GG/GG.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:2fa343b60596b0ebefb2d5f97f376b1162dbfeeda14dbabc8ee1b78ed84c60a7
|
3 |
-
size 546050259
|
|
|
|
|
|
|
|
weights/GG/GG_e200.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:435699252306f86661bd5ce4475d371cae2d9268cb6a216b4bf88637af0fa945
|
3 |
-
size 55232982
|
|
|
|
|
|
|
|
weights/H/H.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:2893838d61e945916a1c63d4c20f27b1499076d7b87ddbc28f24299c918f3b63
|
3 |
-
size 450961419
|
|
|
|
|
|
|
|
weights/H/H.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:77812172646456b4de74798c5e1ac990fff6d251fc536b827f5959c586d38cdf
|
3 |
-
size 55231146
|
|
|
|
|
|
|
|
weights/HH/HH.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d8f7644339cce97f0745ddb7638647736ad1c20d988b892b5bfe18845786a2fe
|
3 |
-
size 479057179
|
|
|
|
|
|
|
|
weights/HH/HH_e300.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5effdc001f41e1fb44e42fd3b8f7f31c69fe996894f873d0b4a9e51132ab1e1c
|
3 |
-
size 55233441
|
|
|
|
|
|
|
|
weights/I/I.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5af5587479de72025ddb2d86a3c003cb79a6b77921433fc9214c16b3028be3c1
|
3 |
-
size 499345139
|
|
|
|
|
|
|
|
weights/I/I.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:e4f84d04fdd502c539a01b11a7032c408caee937315cad2760abef222ce1702f
|
3 |
-
size 55234818
|
|
|
|
|
|
|
|
weights/II/II.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:e77cf99256e542f125210fecea3ef10fbe1e86e1b23bbd4322524ad1945e99bd
|
3 |
-
size 536616219
|
|
|
|
|
|
|
|
weights/II/II_e200.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ef43fd3a692f844d7a7871219c017d502386cad40412a7d6109ce412dfa722f6
|
3 |
-
size 55234359
|
|
|
|
|
|
|
|
weights/J/J.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5349039bc3929139868954faaa468ec07e211436b2e148146659e42609143eec
|
3 |
-
size 465791619
|
|
|
|
|
|
|
|
weights/J/J.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:4f0d926e21ad38569b40cf9779a3ce449b2dcd9b555c716b59df987bef57f260
|
3 |
-
size 55232064
|
|
|
|
|
|
|
|
weights/JJ/JJ.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:3274fa1d622573b14a3b8cd768627457f27338e5a1ca06395f96fa6073e3499d
|
3 |
-
size 516140379
|
|
|
|
|
|
|
|
weights/JJ/JJ_e100.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:3c38f946d2c33d182e0b2915dfbd968b79b55a229b4fbf62be8e031dfa26e584
|
3 |
-
size 55231605
|
|
|
|
|
|
|
|
weights/K/K.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:c9fc5f733770bada5b06f424b037846adf23c18d3feec9528e640ab745eceb9b
|
3 |
-
size 528740659
|
|
|
|
|
|
|
|
weights/K/K.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:65dad1261c81f1f2af041614d3401c999dbf1d893930a299ce723cd24605f5dc
|
3 |
-
size 55231605
|
|
|
|
|
|
|
|
weights/KK/KK.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:8968847719ba9cfc2157c12887fcc511ae9999b909e7d7075f83e3c43f643fbf
|
3 |
-
size 460718859
|
|
|
|
|
|
|
|
weights/KK/KK_e300.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:abc348081bb58e6322a17e8c60fe94405a414aaa3f4fdcd5d34cdc0e7bd439bc
|
3 |
-
size 55232064
|
|
|
|
|
|
|
|
weights/L/L.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:c908c3e9e11f28b33a51c41a0285a78ff8cab525888e6c3528b8e0f323f1f172
|
3 |
-
size 495698419
|
|
|
|
|
|
|
|
weights/L/L.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d983117211dc38185a56adb13757a0859ceac09d53c2c268b6cd223da2b757be
|
3 |
-
size 55232064
|
|
|
|
|
|
|
|
weights/LL/LL.index
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:3c2784aee5c9116e930a74648ed3b78361180a7ad74e0b06635a9822fd92d5b3
|
3 |
-
size 557797379
|
|
|
|
|
|
|
|