Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Mar 26, 2024
1 parent 88e786c commit 442ac55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agixt/extensions/voice_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ async def transcribe_m4a_audio(
base64_audio=base64_audio, filename=filename
)
# Transcribe the audio to text.
user_input = await self.transcribe_audio_from_file(filename=filename)
user_input = await self.transcribe_audio_from_file(file_path=filename)
user_input.replace("[BLANK_AUDIO]", "")
os.remove(os.path.join("./WORKSPACE", filename))
return user_input

0 comments on commit 442ac55

Please sign in to comment.