Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ repo_dir = snapshot_download(repo_id=REPO_ID)
|
|
| 9 |
|
| 10 |
# unzip the dir that holds the predictor
|
| 11 |
zip_path = os.path.join(repo_dir, "autogluon_predictor_dir.zip")
|
| 12 |
-
extract_to = "
|
| 13 |
if not os.path.exists(extract_to):
|
| 14 |
with zipfile.ZipFile(zip_path, "r") as zf:
|
| 15 |
zf.extractall(extract_to)
|
|
|
|
| 9 |
|
| 10 |
# unzip the dir that holds the predictor
|
| 11 |
zip_path = os.path.join(repo_dir, "autogluon_predictor_dir.zip")
|
| 12 |
+
extract_to = "predictor_dir"
|
| 13 |
if not os.path.exists(extract_to):
|
| 14 |
with zipfile.ZipFile(zip_path, "r") as zf:
|
| 15 |
zf.extractall(extract_to)
|