Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def chat_hf(audio, custom_token, language):
43
  gpt_response = "MISSING AUDIO: Record your voice by clicking the microphone button, do not forget to stop recording before sending your message ;)"
44
  else:
45
  #gpt_response = chatbot.ask(whisper_text, conversation_id=conversation_id, parent_id=None)
46
- gpt_response = asyncio.run(chat_gpt_ask(whisper_text))
47
  #if chat_id['conversation_id'] != None:
48
  # data = {"content": whisper_text, "conversation_id": chat_id['conversation_id'], "parent_id": chat_id['parent_id']}
49
  #else:
 
43
  gpt_response = "MISSING AUDIO: Record your voice by clicking the microphone button, do not forget to stop recording before sending your message ;)"
44
  else:
45
  #gpt_response = chatbot.ask(whisper_text, conversation_id=conversation_id, parent_id=None)
46
+ gpt_response = asyncio.run(chat_gpt_ask(whisper_text, id='yusin'))
47
  #if chat_id['conversation_id'] != None:
48
  # data = {"content": whisper_text, "conversation_id": chat_id['conversation_id'], "parent_id": chat_id['parent_id']}
49
  #else: