fix config
Browse files- app.py +1 -1
- models/config.yaml +6 -6
app.py
CHANGED
@@ -24,5 +24,5 @@ def convert(input_file):
|
|
24 |
|
25 |
return "result.mp3"
|
26 |
|
27 |
-
iface = gr.Interface(fn=convert, inputs=gr.File(label="Upload
|
28 |
iface.launch()
|
|
|
24 |
|
25 |
return "result.mp3"
|
26 |
|
27 |
+
iface = gr.Interface(fn=convert, inputs=gr.File(label="Upload Input Voice"), outputs=gr.File(label="Download Result"))
|
28 |
iface.launch()
|
models/config.yaml
CHANGED
@@ -2,7 +2,7 @@ data:
|
|
2 |
block_size: 512
|
3 |
duration: 2
|
4 |
encoder: hubertsoft
|
5 |
-
encoder_ckpt: pretrain/hubert/hubert-soft-0d54a1f4.pt
|
6 |
encoder_hop_size: 320
|
7 |
encoder_out_channels: 256
|
8 |
encoder_sample_rate: 16000
|
@@ -10,14 +10,14 @@ data:
|
|
10 |
f0_max: 800
|
11 |
f0_min: 65
|
12 |
sampling_rate: 44100
|
13 |
-
train_path: data/train
|
14 |
-
valid_path: data/val
|
15 |
device: cpu
|
16 |
enhancer:
|
17 |
-
ckpt: pretrain/nsf_hifigan/model
|
18 |
type: nsf-hifigan
|
19 |
env:
|
20 |
-
expdir: exp/combsub
|
21 |
gpu_id: 0
|
22 |
loss:
|
23 |
fft_max: 2048
|
@@ -29,7 +29,7 @@ model:
|
|
29 |
train:
|
30 |
batch_size: 24
|
31 |
cache_all_data: true
|
32 |
-
cache_device:
|
33 |
cache_fp16: true
|
34 |
epochs: 100000
|
35 |
interval_log: 10
|
|
|
2 |
block_size: 512
|
3 |
duration: 2
|
4 |
encoder: hubertsoft
|
5 |
+
encoder_ckpt: /app/DDSP-SVC/pretrain/hubert/hubert-soft-0d54a1f4.pt
|
6 |
encoder_hop_size: 320
|
7 |
encoder_out_channels: 256
|
8 |
encoder_sample_rate: 16000
|
|
|
10 |
f0_max: 800
|
11 |
f0_min: 65
|
12 |
sampling_rate: 44100
|
13 |
+
train_path: /app/DDSP-SVC/data/train
|
14 |
+
valid_path: /app/DDSP-SVC/data/val
|
15 |
device: cpu
|
16 |
enhancer:
|
17 |
+
ckpt: /app/DDSP-SVC/pretrain/nsf_hifigan/model
|
18 |
type: nsf-hifigan
|
19 |
env:
|
20 |
+
expdir: /app/DDSP-SVC/exp/combsub
|
21 |
gpu_id: 0
|
22 |
loss:
|
23 |
fft_max: 2048
|
|
|
29 |
train:
|
30 |
batch_size: 24
|
31 |
cache_all_data: true
|
32 |
+
cache_device: cpu
|
33 |
cache_fp16: true
|
34 |
epochs: 100000
|
35 |
interval_log: 10
|