Skip to content

Commit

Permalink
Update language_translator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
suryanshsk authored Oct 11, 2024
1 parent 9cea6db commit 2ea3f90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions language_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 2ea3f90

Please sign in to comment.