Spaces:
Runtime error
Runtime error
Serhiy Stetskovych
commited on
Commit
·
2dd65dd
1
Parent(s):
6fcc957
Fix model load.
Browse files- .gitattributes +1 -0
- app.py +2 -2
.gitattributes
CHANGED
@@ -39,3 +39,4 @@ checkpoint_epoch=499.ckpt filter=lfs diff=lfs merge=lfs -text
|
|
39 |
checkpoint_epoch=599.ckpt filter=lfs diff=lfs merge=lfs -text
|
40 |
checkpoint_epoch=649.ckpt filter=lfs diff=lfs merge=lfs -text
|
41 |
g_00140000_m filter=lfs diff=lfs merge=lfs -text
|
|
|
|
39 |
checkpoint_epoch=599.ckpt filter=lfs diff=lfs merge=lfs -text
|
40 |
checkpoint_epoch=649.ckpt filter=lfs diff=lfs merge=lfs -text
|
41 |
g_00140000_m filter=lfs diff=lfs merge=lfs -text
|
42 |
+
checkpoints/g_00120000 filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -116,9 +116,9 @@ _ = model.eval()
|
|
116 |
|
117 |
|
118 |
hifigan = load_hifigan(HIFIGAN_MODEL_PATH, device)
|
119 |
-
vocos_22050 = Vocos.from_pretrained(VOCODER22_MODEL_PATH)
|
120 |
#vocos_44100 = load_vocos('checkpoints/vocos_checkpoint_epoch=209_step=3924480_val_loss=3.7036_44100_11.ckpt', 'vocos.yaml', device)
|
121 |
-
vocos_44100 = Vocos.from_pretrained(VOCODER44_MODEL_PATH)
|
122 |
denoiser = None#Denoiser(vocoder, mode="zeros")
|
123 |
|
124 |
|
|
|
116 |
|
117 |
|
118 |
hifigan = load_hifigan(HIFIGAN_MODEL_PATH, device)
|
119 |
+
vocos_22050 = Vocos.from_pretrained(VOCODER22_MODEL_PATH, device_map=device)
|
120 |
#vocos_44100 = load_vocos('checkpoints/vocos_checkpoint_epoch=209_step=3924480_val_loss=3.7036_44100_11.ckpt', 'vocos.yaml', device)
|
121 |
+
vocos_44100 = Vocos.from_pretrained(VOCODER44_MODEL_PATH, device_map=device)
|
122 |
denoiser = None#Denoiser(vocoder, mode="zeros")
|
123 |
|
124 |
|