Spaces:
Runtime error
Runtime error
Commit
·
400b280
1
Parent(s):
4870c2f
Update app.py
Browse files
app.py
CHANGED
@@ -33,13 +33,13 @@ audio_mode = []
|
|
33 |
f0method_mode = []
|
34 |
f0method_info = ""
|
35 |
if limitation is True:
|
36 |
-
audio_mode = ["Upload audio", "
|
37 |
f0method_mode = ["pm", "crepe"]
|
38 |
f0method_info = "PM is fast, Crepe is good but it was extremely slow (Default: PM)"
|
39 |
else:
|
40 |
-
audio_mode = ["Upload audio", "TTS Audio"]
|
41 |
-
f0method_mode = ["pm", "harvest"]
|
42 |
-
f0method_info = "PM is fast, Harvest is good but extremely slow. (Default: PM)"
|
43 |
def create_vc_fn(model_title, tgt_sr, net_g, vc, if_f0, version, file_index):
|
44 |
def vc_fn(
|
45 |
vc_audio_mode,
|
|
|
33 |
f0method_mode = []
|
34 |
f0method_info = ""
|
35 |
if limitation is True:
|
36 |
+
audio_mode = ["Upload audio", "TTS Audio"]
|
37 |
f0method_mode = ["pm", "crepe"]
|
38 |
f0method_info = "PM is fast, Crepe is good but it was extremely slow (Default: PM)"
|
39 |
else:
|
40 |
+
audio_mode = ["Upload audio", "Youtube", "TTS Audio"]
|
41 |
+
f0method_mode = ["pm", "harvest", "crepe"]
|
42 |
+
f0method_info = "PM is fast, Harvest is good at lower frequency but extremely slow, Crepe is good for higher notes. (Default: PM)"
|
43 |
def create_vc_fn(model_title, tgt_sr, net_g, vc, if_f0, version, file_index):
|
44 |
def vc_fn(
|
45 |
vc_audio_mode,
|