Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1527,7 +1527,7 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
|
|
| 1527 |
record_button.change(fn=save_to_wav, inputs=[record_button], outputs=[input_audio0])
|
| 1528 |
record_button.change(fn=change_choices2, inputs=[], outputs=[input_audio0])
|
| 1529 |
with gr.Row():
|
| 1530 |
-
with gr.Accordion('Text To Speech', open=False):
|
| 1531 |
with gr.Column():
|
| 1532 |
lang = gr.Radio(label='Chinese & Japanese do not work with ElevenLabs currently.',choices=['en','es','fr','pt','zh-CN','de','hi','ja'], value='en')
|
| 1533 |
api_box = gr.Textbox(label="Enter your API Key for ElevenLabs, or leave empty to use GoogleTTS", value='')
|
|
@@ -1537,7 +1537,7 @@ with gr.Blocks(theme=gr.themes.Base(), title='Mangio-RVC-Web 💻') as app:
|
|
| 1537 |
tts_button = gr.Button(value="Speak")
|
| 1538 |
tts_button.click(fn=elevenTTS, inputs=[api_box,tfs, elevenid, lang], outputs=[record_button, input_audio0])
|
| 1539 |
with gr.Row():
|
| 1540 |
-
with gr.Accordion('Wav2Lip', open=False):
|
| 1541 |
with gr.Row():
|
| 1542 |
size = gr.Radio(label='Resolution:',choices=['Half','Full'])
|
| 1543 |
face = gr.UploadButton("Upload A Character",type='file')
|
|
|
|
| 1527 |
record_button.change(fn=save_to_wav, inputs=[record_button], outputs=[input_audio0])
|
| 1528 |
record_button.change(fn=change_choices2, inputs=[], outputs=[input_audio0])
|
| 1529 |
with gr.Row():
|
| 1530 |
+
with gr.Accordion('Text To Speech', open=False, visible=False):
|
| 1531 |
with gr.Column():
|
| 1532 |
lang = gr.Radio(label='Chinese & Japanese do not work with ElevenLabs currently.',choices=['en','es','fr','pt','zh-CN','de','hi','ja'], value='en')
|
| 1533 |
api_box = gr.Textbox(label="Enter your API Key for ElevenLabs, or leave empty to use GoogleTTS", value='')
|
|
|
|
| 1537 |
tts_button = gr.Button(value="Speak")
|
| 1538 |
tts_button.click(fn=elevenTTS, inputs=[api_box,tfs, elevenid, lang], outputs=[record_button, input_audio0])
|
| 1539 |
with gr.Row():
|
| 1540 |
+
with gr.Accordion('Wav2Lip', open=False, visible=False):
|
| 1541 |
with gr.Row():
|
| 1542 |
size = gr.Radio(label='Resolution:',choices=['Half','Full'])
|
| 1543 |
face = gr.UploadButton("Upload A Character",type='file')
|