Spaces:
Runtime error
Runtime error
File size: 854 Bytes
a586e21 dde7335 b75af81 bbbb948 d055dee b75af81 a586e21 8de1132 a586e21 8de1132 a586e21 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 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() |