From 547b67f7ec245228fbc5727b46d8338cd20422b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20L=C3=B3pez?= Date: Fri, 3 Feb 2023 13:58:42 +0100 Subject: [PATCH] Added important note to the README about the recognize_google function from the SpeechRecognition package --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index de3f07d..9d25a66 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ If you want to execute the program: If you want to open the code: - Clone the project with the `git clone https://github.com/HenestrosaConH/audiotext.git` command and then open it with your favourite IDE (mine is [PyCharm](https://www.jetbrains.com/pycharm/)). - Please bear in mind that you cannot generate a single .exe file for this project with PyInstaller due to the dependency with the CustonTkinter package (reason [here](https://github.com/TomSchimansky/CustomTkinter/wiki/Packaging)). +- It's crucial to note that I've had to comment out the line `pprint(response_text, indent=4)` in the `recognize_google` function from the `__init__.py` file of the `SpeechRecognition` package. If it wasn't commented, the project would need to run a command line along with the GUI. Otherwise, the program wouldn't run when calling this function because the mentioned line throws an error that stops the function from running (in case that the program doesn't run on a console), which cannot be handled within the project code.

(back to top)