tts
Browse files
app.py
CHANGED
|
@@ -28,9 +28,9 @@ def sadtalker_demo():
|
|
| 28 |
source_image = gr.Image(label="Source image", source="upload", type="filepath").style(height=256,width=256)
|
| 29 |
|
| 30 |
with gr.Tabs(elem_id="sadtalker_driven_audio"):
|
| 31 |
-
with gr.TabItem('Upload
|
| 32 |
with gr.Column(variant='panel'):
|
| 33 |
-
driven_audio = gr.Audio(label="Input audio", source="upload", type="filepath")
|
| 34 |
|
| 35 |
with gr.Column(variant='panel'):
|
| 36 |
input_text = gr.Textbox(label="Generating audio from text", lines=5, placeholder="Alternatively, you can genreate the audio from text using @Coqui.ai TTS.")
|
|
|
|
| 28 |
source_image = gr.Image(label="Source image", source="upload", type="filepath").style(height=256,width=256)
|
| 29 |
|
| 30 |
with gr.Tabs(elem_id="sadtalker_driven_audio"):
|
| 31 |
+
with gr.TabItem('Upload or Generating from TTS'):
|
| 32 |
with gr.Column(variant='panel'):
|
| 33 |
+
driven_audio = gr.Audio(label="Input audio(.wav/.mp3)", source="upload", type="filepath")
|
| 34 |
|
| 35 |
with gr.Column(variant='panel'):
|
| 36 |
input_text = gr.Textbox(label="Generating audio from text", lines=5, placeholder="Alternatively, you can genreate the audio from text using @Coqui.ai TTS.")
|