frontend_test / app.py
gmmcleod's picture
Update app.py
ca85397 verified
raw
history blame contribute delete
473 Bytes
from datasets import load_dataset
from huggingface_hub import hf_hub_download
import os
TOKEN = os.environ.get("token")
dataset = hf_hub_download(repo_id="GiannasOrganization/giannasdataset",
token= TOKEN,
filename = "file.txt",
repo_type = "dataset",
cache_dir="/tmp/hf")
#dataset = load_dataset("GiannasOrganization/giannasdataset", use_auth_token=True)
print(dataset)