Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -432,53 +432,6 @@ with gr.Blocks(css=css) as demo:
|
|
432 |
|
433 |
audio_in.change(fn=wipe_npz_file, inputs=[folder_path], queue=False)
|
434 |
micro_in.clear(fn=wipe_npz_file, inputs=[folder_path], queue=False)
|
435 |
-
|
436 |
-
gr.Examples(
|
437 |
-
examples = [
|
438 |
-
[
|
439 |
-
"Once upon a time, in a cozy little shell, lived a friendly crab named Crabby. Crabby loved his cozy home, but he always felt like something was missing.",
|
440 |
-
"./examples/en_speaker_6.wav",
|
441 |
-
False,
|
442 |
-
None
|
443 |
-
],
|
444 |
-
[
|
445 |
-
"It was a typical afternoon in the bustling city, the sun shining brightly through the windows of the packed courtroom. Three people sat at the bar, their faces etched with worry and anxiety. ",
|
446 |
-
"./examples/en_speaker_9.wav",
|
447 |
-
False,
|
448 |
-
None
|
449 |
-
],
|
450 |
-
],
|
451 |
-
fn = infer,
|
452 |
-
inputs = [
|
453 |
-
prompt,
|
454 |
-
audio_in,
|
455 |
-
hidden_audio_numpy
|
456 |
-
],
|
457 |
-
outputs = [
|
458 |
-
cloned_out,
|
459 |
-
video_out,
|
460 |
-
npz_file,
|
461 |
-
folder_path
|
462 |
-
],
|
463 |
-
cache_examples = False
|
464 |
-
)
|
465 |
-
|
466 |
-
gr.HTML("""
|
467 |
-
<div class="footer">
|
468 |
-
<p>
|
469 |
-
Coqui + Bark Voice Cloning Demo by 🤗 <a href="https://twitter.com/fffiloni" target="_blank">Sylvain Filoni</a>
|
470 |
-
</p>
|
471 |
-
</div>
|
472 |
-
<div class="disclaimer">
|
473 |
-
<h3> * DISCLAIMER </h3>
|
474 |
-
<p>
|
475 |
-
I hold no responsibility for the utilization or outcomes of audio content produced using the semantic constructs generated by this model. <br />
|
476 |
-
Please ensure that any application of this technology remains within legal and ethical boundaries. <br />
|
477 |
-
It is important to utilize this technology for ethical and legal purposes, upholding the standards of creativity and innovation.
|
478 |
-
</p>
|
479 |
-
</div>
|
480 |
-
""")
|
481 |
-
|
482 |
submit_btn.click(
|
483 |
fn = infer,
|
484 |
inputs = [
|
|
|
432 |
|
433 |
audio_in.change(fn=wipe_npz_file, inputs=[folder_path], queue=False)
|
434 |
micro_in.clear(fn=wipe_npz_file, inputs=[folder_path], queue=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
submit_btn.click(
|
436 |
fn = infer,
|
437 |
inputs = [
|