Skip to content

Commit

Permalink
chat: another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Dec 8, 2023
1 parent a47f502 commit a28f3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MAVProxy/modules/mavproxy_chat/chat_voice_to_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def convert_audio_to_text(self, audio_filename):

# Process with Whisper
audio_file = open(audio_filename, "rb")
transcript = client.audio.transcriptions.create(
transcript = self.client.audio.transcriptions.create(
model="whisper-1",
file=audio_file,
response_format="text")
Expand Down

0 comments on commit a28f3ba

Please sign in to comment.