Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -96,13 +96,13 @@ def new_main():
|
|
96 |
with gr.Blocks() as demo:
|
97 |
title = gr.Markdown("# Tacotron Zero-short Voice Clone (Chinese Version)")
|
98 |
with gr.Row():
|
99 |
-
with gr.Column(
|
100 |
input_audio = gr.Audio(type="file", label="Source Audio", value="exp/lihao_01.wav")
|
101 |
input_text = gr.Textbox(value="大家好,我是正在搬砖的李昊,这是一段合成音频。")
|
102 |
with gr.Row():
|
103 |
clear = gr.ClearButton()
|
104 |
submit = gr.Button(value="Submit", variant='primary')
|
105 |
-
with gr.Column(
|
106 |
output_audio = gr.Audio(type="file", label="Output Audio")
|
107 |
|
108 |
_ = submit.click(new_greet, inputs=[input_audio, input_text], outputs=[output_audio])
|
|
|
96 |
with gr.Blocks() as demo:
|
97 |
title = gr.Markdown("# Tacotron Zero-short Voice Clone (Chinese Version)")
|
98 |
with gr.Row():
|
99 |
+
with gr.Column():
|
100 |
input_audio = gr.Audio(type="file", label="Source Audio", value="exp/lihao_01.wav")
|
101 |
input_text = gr.Textbox(value="大家好,我是正在搬砖的李昊,这是一段合成音频。")
|
102 |
with gr.Row():
|
103 |
clear = gr.ClearButton()
|
104 |
submit = gr.Button(value="Submit", variant='primary')
|
105 |
+
with gr.Column():
|
106 |
output_audio = gr.Audio(type="file", label="Output Audio")
|
107 |
|
108 |
_ = submit.click(new_greet, inputs=[input_audio, input_text], outputs=[output_audio])
|