Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -208,7 +208,7 @@ def tts(
|
|
| 208 |
tgt_sr, net_g, vc, version, index_file, if_f0 = model_data(model_name)
|
| 209 |
vc.model_rmvpe = rmvpe_model
|
| 210 |
times = [0, 0, 0]
|
| 211 |
-
|
| 212 |
# Menggunakan pipeline RVC untuk menghasilkan file suara akhir
|
| 213 |
audio_opt = vc.pipeline(
|
| 214 |
hubert_model,
|
|
@@ -218,7 +218,7 @@ def tts(
|
|
| 218 |
edge_output_filename,
|
| 219 |
times,
|
| 220 |
f0_up_key,
|
| 221 |
-
f0_method
|
| 222 |
index_file,
|
| 223 |
index_rate,
|
| 224 |
if_f0,
|
|
|
|
| 208 |
tgt_sr, net_g, vc, version, index_file, if_f0 = model_data(model_name)
|
| 209 |
vc.model_rmvpe = rmvpe_model
|
| 210 |
times = [0, 0, 0]
|
| 211 |
+
f0_method = "rmvpe"
|
| 212 |
# Menggunakan pipeline RVC untuk menghasilkan file suara akhir
|
| 213 |
audio_opt = vc.pipeline(
|
| 214 |
hubert_model,
|
|
|
|
| 218 |
edge_output_filename,
|
| 219 |
times,
|
| 220 |
f0_up_key,
|
| 221 |
+
f0_method,
|
| 222 |
index_file,
|
| 223 |
index_rate,
|
| 224 |
if_f0,
|