brestok commited on
Commit
f28557b
·
verified ·
1 Parent(s): f45e7fc

Update project/bot/chatbot.py

Browse files
Files changed (1) hide show
  1. project/bot/chatbot.py +1 -0
project/bot/chatbot.py CHANGED
@@ -35,6 +35,7 @@ class ChatBot:
35
  transcript = await settings.OPENAI_CLIENT.audio.transcriptions.create(
36
  model='whisper-1',
37
  file=file,
 
38
  )
39
  text = transcript.text
40
  return text
 
35
  transcript = await settings.OPENAI_CLIENT.audio.transcriptions.create(
36
  model='whisper-1',
37
  file=file,
38
+ language="nl"
39
  )
40
  text = transcript.text
41
  return text