Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,7 @@ def text_to_speech(text: str, speaker_wav, speaker_wav_file, language: str):
|
|
33 |
tts.tts_to_file(text, speaker=tts.speakers[0], language=language, file_path=file_path)
|
34 |
return file_path
|
35 |
|
36 |
-
intro_text = """
|
37 |
-
Please note that Chinese, German, and Spanish are currently not supported for voice cloning.
|
38 |
-
"""
|
39 |
|
40 |
inputs = [gr.Textbox(label="Input the text", value="", max_lines=3),
|
41 |
gr.Audio(label="Voice to clone", source="microphone", type="filepath"),
|
|
|
33 |
tts.tts_to_file(text, speaker=tts.speakers[0], language=language, file_path=file_path)
|
34 |
return file_path
|
35 |
|
36 |
+
intro_text = """Please note that Chinese, German, and Spanish are currently not supported for voice cloning."""
|
|
|
|
|
37 |
|
38 |
inputs = [gr.Textbox(label="Input the text", value="", max_lines=3),
|
39 |
gr.Audio(label="Voice to clone", source="microphone", type="filepath"),
|