brestok commited on
Commit
b3b8d84
·
verified ·
1 Parent(s): 64fd065

Update project/bot/chatbot.py

Browse files
Files changed (1) hide show
  1. project/bot/chatbot.py +1 -1
project/bot/chatbot.py CHANGED
@@ -35,7 +35,7 @@ class ChatBot:
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
 
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