Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def main():
|
|
| 64 |
</div>
|
| 65 |
"""
|
| 66 |
)
|
| 67 |
-
driven_audio_type = gr.
|
| 68 |
|
| 69 |
with gr.Row():
|
| 70 |
with gr.Column(variant="panel"):
|
|
@@ -76,7 +76,7 @@ def main():
|
|
| 76 |
with gr.TabItem("Upload"):
|
| 77 |
upload_driven_audio = gr.Audio(label="Upload audio", sources="upload", type="filepath")
|
| 78 |
upload_driven_audio.change(set_upload, outputs=driven_audio_type)
|
| 79 |
-
reference_audio_type = gr.
|
| 80 |
|
| 81 |
with gr.TabItem("TTS"):
|
| 82 |
upload_reference_audio = gr.Audio(label="Upload Reference Audio", sources="upload", type="filepath")
|
|
|
|
| 64 |
</div>
|
| 65 |
"""
|
| 66 |
)
|
| 67 |
+
driven_audio_type = gr.Textbox(value="upload", visible=False)
|
| 68 |
|
| 69 |
with gr.Row():
|
| 70 |
with gr.Column(variant="panel"):
|
|
|
|
| 76 |
with gr.TabItem("Upload"):
|
| 77 |
upload_driven_audio = gr.Audio(label="Upload audio", sources="upload", type="filepath")
|
| 78 |
upload_driven_audio.change(set_upload, outputs=driven_audio_type)
|
| 79 |
+
reference_audio_type = gr.Textbox(value="upload", visible=False)
|
| 80 |
|
| 81 |
with gr.TabItem("TTS"):
|
| 82 |
upload_reference_audio = gr.Audio(label="Upload Reference Audio", sources="upload", type="filepath")
|