Spaces:
Runtime error
Runtime error
Biswas
commited on
Commit
•
f0b62c9
1
Parent(s):
00b5018
added rajdeep voice
Browse files- Demo/.DS_Store +0 -0
- Demo/VCTK-corpus/.DS_Store +0 -0
- Demo/VCTK-corpus/p266/p266_023.wav +3 -0
- app.py +2 -2
Demo/.DS_Store
DELETED
Binary file (6.15 kB)
|
|
Demo/VCTK-corpus/.DS_Store
DELETED
Binary file (6.15 kB)
|
|
Demo/VCTK-corpus/p266/p266_023.wav
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:226ba9c6c5670e18fea21940ba20021f01f0543c0b9c0e33c97a10adbcd73a2c
|
3 |
+
size 1202254
|
app.py
CHANGED
@@ -33,7 +33,7 @@ from starganv2vc_paddle.Utils.JDC.model import JDCNet
|
|
33 |
from starganv2vc_paddle.models import Generator, MappingNetwork, StyleEncoder
|
34 |
|
35 |
|
36 |
-
speakers = [225,228,229,230,231,233,236,239,240,244,226,227,232,243,254,256,258,259,270,273]
|
37 |
|
38 |
to_mel = paddleaudio.features.MelSpectrogram(
|
39 |
n_mels=80, n_fft=2048, win_length=1200, hop_length=300)
|
@@ -114,7 +114,7 @@ starganv2.generator = starganv2.generator
|
|
114 |
|
115 |
# Compute speakers' styles under the Demo directory
|
116 |
speaker_dicts = {}
|
117 |
-
selected_speakers = [273, 259, 258, 243, 254, 244, 236, 233, 230, 228]
|
118 |
for s in selected_speakers:
|
119 |
k = s
|
120 |
speaker_dicts['p' + str(s)] = ('Demo/VCTK-corpus/p' + str(k) + '/p' + str(k) + '_023.wav', speakers.index(s))
|
|
|
33 |
from starganv2vc_paddle.models import Generator, MappingNetwork, StyleEncoder
|
34 |
|
35 |
|
36 |
+
speakers = [225,228,229,230,231,233,236,239,240,244,226,227,232,243,254,256,258,259,266,270,273]
|
37 |
|
38 |
to_mel = paddleaudio.features.MelSpectrogram(
|
39 |
n_mels=80, n_fft=2048, win_length=1200, hop_length=300)
|
|
|
114 |
|
115 |
# Compute speakers' styles under the Demo directory
|
116 |
speaker_dicts = {}
|
117 |
+
selected_speakers = [273, 259, 258, 243, 254, 244, 236, 233, 230, 228, 266]
|
118 |
for s in selected_speakers:
|
119 |
k = s
|
120 |
speaker_dicts['p' + str(s)] = ('Demo/VCTK-corpus/p' + str(k) + '/p' + str(k) + '_023.wav', speakers.index(s))
|