Spaces:
Sleeping
Sleeping
Update project/bot/chatbot.py
Browse files- 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 |
-
|
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
|