Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def inference(audio_path, text, mic_path=None):
|
|
17 |
|
18 |
title = "Real-Time-Korea-Voice-Cloning"
|
19 |
description = "Gradio demo for Real-Time-Korea-Voice-Cloning: Clone a voice in 600 seconds to generate arbitrary speech in real-time. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
|
20 |
-
article = "<p style='text-align: center'><a href='https://matheo.uliege.be/handle/2268.2/6801' target='_blank'>Real-Time Voice Cloning</a> | <a href='https://github.com/
|
21 |
|
22 |
def toggle(choice):
|
23 |
if choice == "mic":
|
@@ -38,7 +38,7 @@ with gr.Blocks() as demo:
|
|
38 |
with gr.Column():
|
39 |
audio_output = gr.Audio(label="Output")
|
40 |
|
41 |
-
gr.Examples
|
42 |
outputs=audio_output, cache_examples=True)
|
43 |
btn = gr.Button("Generate")
|
44 |
btn.click(inference, inputs=[audio_file,
|
|
|
17 |
|
18 |
title = "Real-Time-Korea-Voice-Cloning"
|
19 |
description = "Gradio demo for Real-Time-Korea-Voice-Cloning: Clone a voice in 600 seconds to generate arbitrary speech in real-time. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
|
20 |
+
article = "<p style='text-align: center'><a href='https://matheo.uliege.be/handle/2268.2/6801' target='_blank'>Real-Time Voice Cloning</a> | <a href='https://github.com/JH-lee95/Korean-Voice-Cloning.git' target='_blank'>Github Repo</a></p>"
|
21 |
|
22 |
def toggle(choice):
|
23 |
if choice == "mic":
|
|
|
38 |
with gr.Column():
|
39 |
audio_output = gr.Audio(label="Output")
|
40 |
|
41 |
+
gr.Examples, fn=inference, inputs=[audio_file, text_input],
|
42 |
outputs=audio_output, cache_examples=True)
|
43 |
btn = gr.Button("Generate")
|
44 |
btn.click(inference, inputs=[audio_file,
|