Mahiruoshi commited on
Commit
40ce792
1 Parent(s): 10b14bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -266,8 +266,6 @@ if __name__ == '__main__':
266
  audio_input1 = gr.Checkbox(value=False, label="修改音频路径(live2d)")
267
  audio_input2 = gr.TextArea(label="音频路径",lines=1,value = '#参考 D:/app_develop/live2d_whole/2010002/sounds/temp.wav')
268
 
269
- btnVC.click(bot, inputs = [chatbot,input1], outputs = [chatbot]).then(
270
- tts_fn, inputs=[chatbot,api_input1,api_input2,audio_input1,audio_input2,audio_input3,input1,input2,input3,input4,input5,input6], outputs=[chatbot,output2,output1]
271
- )
272
 
273
  app.launch()
 
266
  audio_input1 = gr.Checkbox(value=False, label="修改音频路径(live2d)")
267
  audio_input2 = gr.TextArea(label="音频路径",lines=1,value = '#参考 D:/app_develop/live2d_whole/2010002/sounds/temp.wav')
268
 
269
+ btnVC.click(bot, inputs = [chatbot,input1], outputs = [chatbot]).then(tts_fn, inputs=[chatbot,api_input1,api_input2,audio_input1,audio_input2,audio_input3,input1,input2,input3,input4,input5,input6], outputs=[chatbot,output2,output1])
 
 
270
 
271
  app.launch()