Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,6 @@ def main():
|
|
94 |
|
95 |
def new_main():
|
96 |
with gr.Blocks() as demo:
|
97 |
-
statas = gr.State()
|
98 |
title = gr.Markdown("# Tacotron Zero-short Voice Clone (Chinese Version)")
|
99 |
with gr.Row():
|
100 |
with gr.Column(scale=1):
|
@@ -106,7 +105,7 @@ def new_main():
|
|
106 |
with gr.Column(scale=1):
|
107 |
output_audio = gr.Audio(type="file", label="Output Audio")
|
108 |
|
109 |
-
_ = submit.click(new_greet, inputs=[input_audio, input_text
|
110 |
|
111 |
demo.launch()
|
112 |
|
|
|
94 |
|
95 |
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(scale=1):
|
|
|
105 |
with gr.Column(scale=1):
|
106 |
output_audio = gr.Audio(type="file", label="Output Audio")
|
107 |
|
108 |
+
_ = submit.click(new_greet, inputs=[input_audio, input_text], outputs=[output_audio])
|
109 |
|
110 |
demo.launch()
|
111 |
|