souljoy commited on
Commit
54205c5
1 Parent(s): 43f767e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -270,7 +270,7 @@ with gr.Blocks() as demo:
270
  audio_inputs.change(transcribe_speech, [open_ai_key, audio_inputs, asr_type], [msg_txt]) # 录音输入
271
  chat_bu.click(get_response,
272
  [open_ai_key, msg_txt, chat_bot, doc_text_state, doc_emb_state, query_engine, index_type],
273
- [chat_bot])# .then(get_audio_answer, [chat_bot], [audio_answer]) # 发送消息
274
 
275
  if __name__ == "__main__":
276
  demo.queue(concurrency_count=4).launch()
 
270
  audio_inputs.change(transcribe_speech, [open_ai_key, audio_inputs, asr_type], [msg_txt]) # 录音输入
271
  chat_bu.click(get_response,
272
  [open_ai_key, msg_txt, chat_bot, doc_text_state, doc_emb_state, query_engine, index_type],
273
+ [chat_bot])# .then(get_audio_answer, [chat_bot], [audio_answer]) # 发送消息
274
 
275
  if __name__ == "__main__":
276
  demo.queue(concurrency_count=4).launch()