karim23657 commited on
Commit
65067ea
·
verified ·
1 Parent(s): cb2cacd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,7 +155,7 @@ def dl_espeak_data():
155
  print("\nDownload complete")
156
 
157
  # Extract the tar.bz2 file
158
- destination=os.path.abspath(__file__)
159
  print(f"Extracting {tar_path} to {destination}")
160
  try:
161
  with tarfile.open(tar_path, "r:bz2") as tar:
 
155
  print("\nDownload complete")
156
 
157
  # Extract the tar.bz2 file
158
+ destination=os.path.dirname(os.path.abspath(__file__))
159
  print(f"Extracting {tar_path} to {destination}")
160
  try:
161
  with tarfile.open(tar_path, "r:bz2") as tar: