mr2along commited on
Commit
9712ff7
·
verified ·
1 Parent(s): 77696a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -9,7 +9,6 @@ from pydub import AudioSegment
9
  import time
10
  import epitran
11
 
12
- from epitran.flite import FliteLexLookup
13
 
14
  # Create audio directory if it doesn't exist
15
  if not os.path.exists('audio'):
@@ -17,7 +16,7 @@ if not os.path.exists('audio'):
17
 
18
  # Initialize the epitran object for English
19
  try:
20
- epi = epitran.Epitran('eng-Latn')
21
  except Exception as e:
22
  print(f"Error initializing Epitran: {e}")
23
 
 
9
  import time
10
  import epitran
11
 
 
12
 
13
  # Create audio directory if it doesn't exist
14
  if not os.path.exists('audio'):
 
16
 
17
  # Initialize the epitran object for English
18
  try:
19
+ epi=epitran.Epitran('eng-Latn')
20
  except Exception as e:
21
  print(f"Error initializing Epitran: {e}")
22