Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|