Spaces:
Runtime error
Runtime error
Try this
Browse files- app_multi.py +2 -2
app_multi.py
CHANGED
@@ -146,7 +146,7 @@ def vc_func(
|
|
146 |
|
147 |
# https://huggingface.co/spaces/zomehwh/rvc-models/blob/main/app.py#L49
|
148 |
# Can be change well, we will see
|
149 |
-
if (audio_npy.shape[0] / audio_samp) >
|
150 |
return (None, 'Input audio is longer than 60 secs.')
|
151 |
|
152 |
# Bloody hell: https://stackoverflow.com/questions/26921836/
|
@@ -333,7 +333,7 @@ with app:
|
|
333 |
)
|
334 |
f0_method = gr.Radio(
|
335 |
label='f0 methods',
|
336 |
-
choices=['pm', 'harvest'
|
337 |
value='pm',
|
338 |
interactive=True
|
339 |
)
|
|
|
146 |
|
147 |
# https://huggingface.co/spaces/zomehwh/rvc-models/blob/main/app.py#L49
|
148 |
# Can be change well, we will see
|
149 |
+
if (audio_npy.shape[0] / audio_samp) > 320 and in_hf_space:
|
150 |
return (None, 'Input audio is longer than 60 secs.')
|
151 |
|
152 |
# Bloody hell: https://stackoverflow.com/questions/26921836/
|
|
|
333 |
)
|
334 |
f0_method = gr.Radio(
|
335 |
label='f0 methods',
|
336 |
+
choices=['pm', 'harvest'],
|
337 |
value='pm',
|
338 |
interactive=True
|
339 |
)
|