Spaces:
Runtime error
Runtime error
Kit-Lemonfoot
commited on
Commit
•
7042f64
1
Parent(s):
591ac2d
Added Idol (because funny), added Oga and Kurokami, updated Reine
Browse files
app.py
CHANGED
@@ -461,49 +461,53 @@ if __name__ == '__main__':
|
|
461 |
value="rmvpe",
|
462 |
interactive=True
|
463 |
)
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
|
|
|
|
|
|
|
|
507 |
with gr.Column():
|
508 |
vc_log = gr.Textbox(label="Output Information", interactive=False)
|
509 |
vc_output = gr.Audio(label="Output Audio", interactive=False)
|
@@ -583,9 +587,9 @@ if __name__ == '__main__':
|
|
583 |
"#### <center>Original devs:\n"
|
584 |
"<center>the RVC Project, lj1995, zomehwh, sysf\n\n"
|
585 |
"#### <center>Model creators:\n"
|
586 |
-
"<center>dacoolkid44, Hijack, Maki Ligon, megaaziib, KitLemonfoot, yeey5, Sui, MahdeenSky, Itaxhix, Acato, Kyuubical, Listra92, IshimaIshimsky, ZomballTH, Jotape91, RigidSpinner, RandomAssBettel, Mimizukari, Oida, Shu-Kun, Nhat Minh, Ardha27, Legitdark, TempoHawk, 0x3e9, Kaiaya, Skeetawn, Sonphantrung, Pianissimo, RavenCutie21, Gloomwastragic, Sunesu, Aimbo, Act8113, Blyxeen\n"
|
587 |
)
|
588 |
if limitation is True:
|
589 |
app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
|
590 |
else:
|
591 |
-
app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=
|
|
|
461 |
value="rmvpe",
|
462 |
interactive=True
|
463 |
)
|
464 |
+
if model_index:
|
465 |
+
index_rate1 = gr.Slider(
|
466 |
+
minimum=0,
|
467 |
+
maximum=1,
|
468 |
+
label="Retrieval feature ratio",
|
469 |
+
info="Accent control. Too high will usually sound too robotic. (Default: 0.4)",
|
470 |
+
value=0.4,
|
471 |
+
interactive=True,
|
472 |
+
)
|
473 |
+
else:
|
474 |
+
index_rate1 = gr.Number(value=0.4, interactive=False, visible=False)
|
475 |
+
with gr.Accordion("Advanced Options", open=False):
|
476 |
+
filter_radius0 = gr.Slider(
|
477 |
+
minimum=0,
|
478 |
+
maximum=7,
|
479 |
+
label="Apply Median Filtering",
|
480 |
+
info="The value represents the filter radius and can reduce breathiness.",
|
481 |
+
value=1,
|
482 |
+
step=1,
|
483 |
+
interactive=True,
|
484 |
+
)
|
485 |
+
resample_sr0 = gr.Slider(
|
486 |
+
minimum=0,
|
487 |
+
maximum=48000,
|
488 |
+
label="Resample the output audio",
|
489 |
+
info="Resample the output audio in post-processing to the final sample rate. Set to 0 for no resampling.",
|
490 |
+
value=0,
|
491 |
+
step=1,
|
492 |
+
interactive=True,
|
493 |
+
)
|
494 |
+
rms_mix_rate0 = gr.Slider(
|
495 |
+
minimum=0,
|
496 |
+
maximum=1,
|
497 |
+
label="Volume Envelope",
|
498 |
+
info="Use the volume envelope of the input to replace or mix with the volume envelope of the output. The closer the ratio is to 1, the more the output envelope is used",
|
499 |
+
value=1,
|
500 |
+
interactive=True,
|
501 |
+
)
|
502 |
+
protect0 = gr.Slider(
|
503 |
+
minimum=0,
|
504 |
+
maximum=0.5,
|
505 |
+
label="Voice Protection",
|
506 |
+
info="Protect voiceless consonants and breath sounds to prevent artifacts such as tearing in electronic music. Set to 0.5 to disable. Decrease the value to increase protection, but it may reduce indexing accuracy",
|
507 |
+
value=0.23,
|
508 |
+
step=0.01,
|
509 |
+
interactive=True,
|
510 |
+
)
|
511 |
with gr.Column():
|
512 |
vc_log = gr.Textbox(label="Output Information", interactive=False)
|
513 |
vc_output = gr.Audio(label="Output Audio", interactive=False)
|
|
|
587 |
"#### <center>Original devs:\n"
|
588 |
"<center>the RVC Project, lj1995, zomehwh, sysf\n\n"
|
589 |
"#### <center>Model creators:\n"
|
590 |
+
"<center>dacoolkid44, Hijack, Maki Ligon, megaaziib, KitLemonfoot, yeey5, Sui, MahdeenSky, Itaxhix, Acato, Kyuubical, Listra92, IshimaIshimsky, ZomballTH, Jotape91, RigidSpinner, RandomAssBettel, Mimizukari, Oida, Shu-Kun, Nhat Minh, Ardha27, Legitdark, TempoHawk, 0x3e9, Kaiaya, Skeetawn, Sonphantrung, Pianissimo, RavenCutie21, HinaBl, Brazurl, PetroOne, Rubinlord, Gloomwastragic, Sunesu, Aimbo, Act8113, Blyxeen\n"
|
591 |
)
|
592 |
if limitation is True:
|
593 |
app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
|
594 |
else:
|
595 |
+
app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=False)
|