From 9a390f7b41e980d05c1c05c669febc16f6826ecd Mon Sep 17 00:00:00 2001 From: nasrlol Date: Mon, 9 Dec 2024 21:10:19 +0100 Subject: fixed the speech recognizer function, it was asking for a faulty argument, dont know how it got there --- source/.DS_Store | Bin 6148 -> 0 bytes source/__pycache__/features.cpython-312.pyc | Bin 9305 -> 0 bytes source/__pycache__/hardware_driver.cpython-312.pyc | Bin 4078 -> 0 bytes source/features.py | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 source/.DS_Store delete mode 100644 source/__pycache__/features.cpython-312.pyc delete mode 100644 source/__pycache__/hardware_driver.cpython-312.pyc (limited to 'source') diff --git a/source/.DS_Store b/source/.DS_Store deleted file mode 100644 index 2b35964..0000000 Binary files a/source/.DS_Store and /dev/null differ diff --git a/source/__pycache__/features.cpython-312.pyc b/source/__pycache__/features.cpython-312.pyc deleted file mode 100644 index f4fb57d..0000000 Binary files a/source/__pycache__/features.cpython-312.pyc and /dev/null differ diff --git a/source/__pycache__/hardware_driver.cpython-312.pyc b/source/__pycache__/hardware_driver.cpython-312.pyc deleted file mode 100644 index 0ff8d39..0000000 Binary files a/source/__pycache__/hardware_driver.cpython-312.pyc and /dev/null differ diff --git a/source/features.py b/source/features.py index 2eb5a42..7690feb 100644 --- a/source/features.py +++ b/source/features.py @@ -127,7 +127,7 @@ class feat: L.text("Error reading uptime", 1) print("Error:", e) - def recognize_speech(self, recognizer_): + def recognize_speech(self): self.clear_terminal_lcd() L.text("Listening...", 1) -- cgit v1.2.3-70-g09d2