Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def greet(n):
|
|
| 19 |
url = f"https://drive.google.com/uc?id={file_id}"
|
| 20 |
gdown.download(url, '/tmp/stf-api-alternative.zip', quiet=False)
|
| 21 |
dir_zip= os.path.join(root_path, '/tmp/stf-api-alternative.zip')
|
| 22 |
-
dir_target=os.path.join(root_path,'/tmp/')
|
| 23 |
zipfile.ZipFile(dir_zip, 'r').extractall(dir_target)
|
| 24 |
|
| 25 |
file_id=os.getenv('DOWNLOAD_2')
|
|
|
|
| 19 |
url = f"https://drive.google.com/uc?id={file_id}"
|
| 20 |
gdown.download(url, '/tmp/stf-api-alternative.zip', quiet=False)
|
| 21 |
dir_zip= os.path.join(root_path, '/tmp/stf-api-alternative.zip')
|
| 22 |
+
dir_target=os.path.join(root_path,'/tmp/stf/')
|
| 23 |
zipfile.ZipFile(dir_zip, 'r').extractall(dir_target)
|
| 24 |
|
| 25 |
file_id=os.getenv('DOWNLOAD_2')
|