kira4424 commited on
Commit
9562dcf
·
1 Parent(s): c59c783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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, statas], outputs=[output_audio, statas])
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