Update app.py
Browse files
app.py
CHANGED
@@ -1538,9 +1538,9 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose")
|
|
1538 |
record_button.change(fn=save_to_wav, inputs=[record_button], outputs=[input_audio0])
|
1539 |
record_button.change(fn=change_choices2, inputs=[], outputs=[input_audio0])
|
1540 |
with gr.Row():
|
1541 |
-
with gr.Accordion('
|
1542 |
with gr.Column():
|
1543 |
-
lang = gr.Radio(label='Chinese & Japanese do not work with ElevenLabs currently.',choices=['ar-
|
1544 |
api_box = gr.Textbox(label="Enter your API Key for ElevenLabs, or leave empty to use GoogleTTS", value='', visible=False)
|
1545 |
elevenid=gr.Dropdown(label="Voice:", choices=eleven_voices, visible=False)
|
1546 |
with gr.Column():
|
|
|
1538 |
record_button.change(fn=save_to_wav, inputs=[record_button], outputs=[input_audio0])
|
1539 |
record_button.change(fn=change_choices2, inputs=[], outputs=[input_audio0])
|
1540 |
with gr.Row():
|
1541 |
+
with gr.Accordion('Google TTS', open=False, visible=True):
|
1542 |
with gr.Column():
|
1543 |
+
lang = gr.Radio(label='Chinese & Japanese do not work with ElevenLabs currently.',choices=['ar', 'ar-EG', 'ar-SA', 'en','it','es','fr','pt','zh-CN','de','hi','ja'], value='ar')
|
1544 |
api_box = gr.Textbox(label="Enter your API Key for ElevenLabs, or leave empty to use GoogleTTS", value='', visible=False)
|
1545 |
elevenid=gr.Dropdown(label="Voice:", choices=eleven_voices, visible=False)
|
1546 |
with gr.Column():
|