DeepLearning101 commited on
Commit
bba7c7e
·
verified ·
1 Parent(s): 523618b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ if not os.path.exists(os.path.join(nltk_data_path, 'corpora/cmudict.zip')):
24
  if not os.path.exists(os.path.join(nltk_data_path, 'taggers/averaged_perceptron_tagger.zip')):
25
  nltk.download('averaged_perceptron_tagger', download_dir=nltk_data_path)
26
 
27
- import LangSegment
28
 
29
  # 📦 匯入 parrots
30
  from parrots import TextToSpeech
 
24
  if not os.path.exists(os.path.join(nltk_data_path, 'taggers/averaged_perceptron_tagger.zip')):
25
  nltk.download('averaged_perceptron_tagger', download_dir=nltk_data_path)
26
 
27
+ sys.path.insert(0, os.path.abspath("ForkLangSegment"))
28
 
29
  # 📦 匯入 parrots
30
  from parrots import TextToSpeech