From 2ea3f90f811defc902a6749b5b5a464364a40385 Mon Sep 17 00:00:00 2001 From: Suryansh singh <88218773+suryanshsk@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:52:38 +0530 Subject: [PATCH] Update language_translator.py --- language_translator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/language_translator.py b/language_translator.py index 9dc0bd7..656a4bf 100644 --- a/language_translator.py +++ b/language_translator.py @@ -21,6 +21,7 @@ def translate_text(text, target_language): def speak(text): engine.say(text) engine.runAndWait() + # Function to capture voice commands and convert speech to text def voice_to_text():