Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,15 +10,6 @@ import os
|
|
| 10 |
REPO_ID = "wintergw/assignment_opt_gurobi"
|
| 11 |
REPO_TYPE = "space"
|
| 12 |
|
| 13 |
-
# Download the entire space (optional, if needed)
|
| 14 |
-
repo_dir = snapshot_download(
|
| 15 |
-
repo_id=REPO_ID,
|
| 16 |
-
repo_type=REPO_TYPE,
|
| 17 |
-
cache_dir="private_space_cache"
|
| 18 |
-
)
|
| 19 |
-
|
| 20 |
-
# Add repo directory to sys.path so Python can find modules inside it
|
| 21 |
-
sys.path.append(repo_dir)
|
| 22 |
|
| 23 |
# Download specific files (if snapshot_download wasn't used)
|
| 24 |
app_path = hf_hub_download(
|
|
|
|
| 10 |
REPO_ID = "wintergw/assignment_opt_gurobi"
|
| 11 |
REPO_TYPE = "space"
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# Download specific files (if snapshot_download wasn't used)
|
| 15 |
app_path = hf_hub_download(
|