Skip to content

Commit

Permalink
Update voice-text-reader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamiccreator authored Oct 18, 2024
1 parent 29a441b commit 0aa1af9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion voice-text-reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
import argparse


nltk.download('punkt')
nltk.download('punkt_tab')


# Get the current working directory
current_dir = os.getcwd()

Expand Down Expand Up @@ -64,7 +68,7 @@



nltk.download('punkt')


def is_non_empty_string(variable):
return isinstance(variable, str) and len(variable) > 0
Expand Down

0 comments on commit 0aa1af9

Please sign in to comment.