Spaces:
Runtime error
Runtime error
Commit
·
d3480f8
1
Parent(s):
5539f35
Delete unnecessary files
Browse files
app.py
CHANGED
|
@@ -35,18 +35,6 @@ def text_to_speech(text: str, speaker_wav, speaker_wav_file, language: str):
|
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
-
# inputs = [gr.Textbox(label="Input the text", value="", max_lines=3),
|
| 39 |
-
# gr.Audio(label="Voice to clone", source="microphone", type="filepath"),
|
| 40 |
-
# gr.Audio(label="Voice to clone", type="filepath"),
|
| 41 |
-
# gr.Radio(label="Language", choices=["en", "zh-CN", "fr-fr", "pt-br", "de", "es"], value="en"),
|
| 42 |
-
# gr.Text(intro_text, font_size=14)]
|
| 43 |
-
# outputs = gr.Audio(label="Output")
|
| 44 |
-
|
| 45 |
-
# demo = gr.Interface(fn=text_to_speech, inputs=inputs, outputs=outputs)
|
| 46 |
-
|
| 47 |
-
# demo.launch()
|
| 48 |
-
|
| 49 |
-
|
| 50 |
title = "Voice-Cloning-Demo"
|
| 51 |
|
| 52 |
def toggle(choice):
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
title = "Voice-Cloning-Demo"
|
| 39 |
|
| 40 |
def toggle(choice):
|