Update app.py
Browse files
app.py
CHANGED
|
@@ -1511,7 +1511,6 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="red", secondary_hue="rose"),
|
|
| 1511 |
visible=False,
|
| 1512 |
interactive=True,
|
| 1513 |
)
|
| 1514 |
-
clean_button.click(fn=clean, inputs=[], outputs=[sid0])
|
| 1515 |
sid0.change(
|
| 1516 |
fn=get_vc,
|
| 1517 |
inputs=[sid0],
|
|
@@ -1546,6 +1545,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="red", secondary_hue="rose"),
|
|
| 1546 |
tfs = gr.Textbox(label="Input your Text", interactive=True, value="This is a test.")
|
| 1547 |
tts_button = gr.Button(value="Speak")
|
| 1548 |
tts_button.click(fn=elevenTTS, inputs=[api_box,tfs, elevenid, lang], outputs=[record_button, input_audio0])
|
|
|
|
| 1549 |
with gr.Row():
|
| 1550 |
with gr.Accordion('Wav2Lip', open=False, visible=False):
|
| 1551 |
with gr.Row():
|
|
|
|
| 1511 |
visible=False,
|
| 1512 |
interactive=True,
|
| 1513 |
)
|
|
|
|
| 1514 |
sid0.change(
|
| 1515 |
fn=get_vc,
|
| 1516 |
inputs=[sid0],
|
|
|
|
| 1545 |
tfs = gr.Textbox(label="Input your Text", interactive=True, value="This is a test.")
|
| 1546 |
tts_button = gr.Button(value="Speak")
|
| 1547 |
tts_button.click(fn=elevenTTS, inputs=[api_box,tfs, elevenid, lang], outputs=[record_button, input_audio0])
|
| 1548 |
+
clean_button.click(fn=clean, inputs=[], outputs=[sid0])
|
| 1549 |
with gr.Row():
|
| 1550 |
with gr.Accordion('Wav2Lip', open=False, visible=False):
|
| 1551 |
with gr.Row():
|