File size: 361 Bytes
8ff4fd9
 
 
 
 
c249401
8ff4fd9
16600f5
8ff4fd9
 
 
8569d75
1
2
3
4
5
6
7
8
9
10
11
12
13
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()