Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from huggingface_hub import hf_hub_download
|
|
| 5 |
token=os.environ["HUGGING_FACE_HUB_TOKEN"]
|
| 6 |
|
| 7 |
# Download from a dataset
|
| 8 |
-
hf_hub_download(repo_id="Brillio-DS/Optimization_JSSP",local_dir=os.getcwd(), filename="main.py", repo_type="dataset")
|
| 9 |
print(os.listdir())
|
| 10 |
from main import run
|
| 11 |
run()
|
|
|
|
| 5 |
token=os.environ["HUGGING_FACE_HUB_TOKEN"]
|
| 6 |
|
| 7 |
# Download from a dataset
|
| 8 |
+
hf_hub_download(repo_id="Brillio-DS/Optimization_JSSP",local_dir=os.getcwd(), filename="main.py", repo_type="dataset",use_auth_token=token)
|
| 9 |
print(os.listdir())
|
| 10 |
from main import run
|
| 11 |
run()
|