Spaces:
Runtime error
Runtime error
test: audio var
Browse files
app.py
CHANGED
@@ -45,9 +45,8 @@ def create_vc_fn(tgt_sr, net_g, vc, if_f0, file_index):
|
|
45 |
protect,
|
46 |
):
|
47 |
try:
|
48 |
-
|
49 |
-
|
50 |
-
elif vc_audio_mode == "Upload audio":
|
51 |
if vc_upload is None:
|
52 |
return "You need to upload an audio", None
|
53 |
sampling_rate, audio = vc_upload
|
|
|
45 |
protect,
|
46 |
):
|
47 |
try:
|
48 |
+
audio = ""
|
49 |
+
if vc_audio_mode == "Upload audio":
|
|
|
50 |
if vc_upload is None:
|
51 |
return "You need to upload an audio", None
|
52 |
sampling_rate, audio = vc_upload
|