Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix: audio mode error
Browse files
app.py
CHANGED
@@ -31,6 +31,7 @@ limitation = os.getenv("SYSTEM") == "spaces"
|
|
31 |
|
32 |
def create_vc_fn(tgt_sr, net_g, vc, if_f0, file_index):
|
33 |
def vc_fn(
|
|
|
34 |
vc_input,
|
35 |
vc_upload,
|
36 |
tts_text,
|
@@ -445,6 +446,7 @@ if __name__ == '__main__':
|
|
445 |
vc_convert.click(
|
446 |
fn=vc_fn,
|
447 |
inputs=[
|
|
|
448 |
vc_input,
|
449 |
vc_upload,
|
450 |
tts_text,
|
|
|
31 |
|
32 |
def create_vc_fn(tgt_sr, net_g, vc, if_f0, file_index):
|
33 |
def vc_fn(
|
34 |
+
vc_audio_mode,
|
35 |
vc_input,
|
36 |
vc_upload,
|
37 |
tts_text,
|
|
|
446 |
vc_convert.click(
|
447 |
fn=vc_fn,
|
448 |
inputs=[
|
449 |
+
vc_audio_mode,
|
450 |
vc_input,
|
451 |
vc_upload,
|
452 |
tts_text,
|