Skip to content

Commit

Permalink
Merge pull request #2 from Pingdred/main
Browse files Browse the repository at this point in the history
Fix websocket speech recognition
  • Loading branch information
zAlweNy26 authored Dec 7, 2023
2 parents 855f704 + 11c76cd commit 3b3a2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def before_cat_reads_message(message_json, cat):
transcription = transcript(
key=settings["api_key"],
lang=settings["language"],
file=(file_type, file)
file=(file_type, file.read())
)

# Update the text in input
Expand Down

0 comments on commit 3b3a2ef

Please sign in to comment.