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"] | |
| # Download from a dataset | |
| hf_hub_download(repo_id="Hitendri/DFM_PoC",local_dir=os.getcwd(), filename="main.py", repo_type="dataset",use_auth_token=token) | |
| print(os.listdir()) | |
| from main import run | |
| run() | |