Spaces:
Sleeping
Sleeping
ibcplateformes Claude Opus 4.6 commited on
Commit ·
6098f78
1
Parent(s): 2f6540c
Fix GPU timeout: increase to 300s, lower default diffusion steps to 10
Browse filesFirst call downloads all models (DiT, Whisper, BigVGAN, RMVPE, CAMPPlus)
which takes significant time. Increase GPU duration to 300s (ZeroGPU PRO max).
Lower default diffusion steps from 25 to 10 (matching official Seed-VC Space)
for faster processing. Allow up to 100 steps for quality.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- app.py +3 -3
- pipeline/inference.py +1 -1
app.py
CHANGED
|
@@ -309,10 +309,10 @@ with gr.Blocks(
|
|
| 309 |
)
|
| 310 |
convert_diffusion = gr.Slider(
|
| 311 |
minimum=5,
|
| 312 |
-
maximum=
|
| 313 |
-
value=
|
| 314 |
step=5,
|
| 315 |
-
label="Qualite (
|
| 316 |
)
|
| 317 |
convert_vocal_vol = gr.Slider(
|
| 318 |
minimum=0.0,
|
|
|
|
| 309 |
)
|
| 310 |
convert_diffusion = gr.Slider(
|
| 311 |
minimum=5,
|
| 312 |
+
maximum=100,
|
| 313 |
+
value=10,
|
| 314 |
step=5,
|
| 315 |
+
label="Qualite (10=rapide, 25=bon, 50-100=meilleure qualite)",
|
| 316 |
)
|
| 317 |
convert_vocal_vol = gr.Slider(
|
| 318 |
minimum=0.0,
|
pipeline/inference.py
CHANGED
|
@@ -184,7 +184,7 @@ def _test_import(name, module_path, subattr=None):
|
|
| 184 |
return False, "{}: {}".format(type(ie).__name__, ie)
|
| 185 |
|
| 186 |
|
| 187 |
-
@spaces.GPU(duration=
|
| 188 |
def convert_voice(
|
| 189 |
audio_path,
|
| 190 |
reference_path,
|
|
|
|
| 184 |
return False, "{}: {}".format(type(ie).__name__, ie)
|
| 185 |
|
| 186 |
|
| 187 |
+
@spaces.GPU(duration=300)
|
| 188 |
def convert_voice(
|
| 189 |
audio_path,
|
| 190 |
reference_path,
|