Spaces:
Runtime error
Runtime error
| from huggingface_hub import Repository | |
| import os | |
| from huggingface_hub import hf_hub_download | |
| from huggingface_hub import login | |
| token=os.environ["AUTH_TOKEN"] | |
| # login(token = token) | |
| # Download from a dataset | |
| hf_hub_download(repo_id="Brillio-DS/Optimization_JSSP",local_dir=os.getcwd(), filename="main.py", repo_type="dataset",use_auth_token=token) | |
| hf_hub_download(repo_id="Brillio-DS/Optimization_JSSP",local_dir=os.getcwd(), filename="GA.py", repo_type="dataset",use_auth_token=token) | |
| hf_hub_download(repo_id="Brillio-DS/Optimization_JSSP",local_dir=os.getcwd(), filename="MIP.py", repo_type="dataset",use_auth_token=token) | |
| hf_hub_download(repo_id="Brillio-DS/Optimization_JSSP",local_dir=os.getcwd(), filename="OR_tools.py", repo_type="dataset",use_auth_token=token) | |
| print(os.listdir()) | |
| import GA | |
| import MIP | |
| import OR_tools | |
| from main import run | |
| run() |