diff --git a/main.py b/main.py index 9afe16a..8f0590d 100644 --- a/main.py +++ b/main.py @@ -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