CognitiveScience commited on
Commit
a05d9d4
·
1 Parent(s): eed3f7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -8,16 +8,17 @@ import huggingface_hub
8
  print("hfh", huggingface_hub.__version__)
9
  from huggingface_hub import hf_hub_download, upload_file
10
  from datetime import datetime
11
- from huggingface_hub import login
12
 
13
- DATASET_REPO_ID = "datasets/CognitiveScience/csdhdata"
14
  DATASET_REPO_URL = f"https://huggingface.co/{DATASET_REPO_ID}"
15
  DATA_DIRNAME = "data"
16
  DATA_FILENAME = "data.csv"
17
  DATA_FILE = os.path.join(DATA_DIRNAME, DATA_FILENAME)
18
 
19
- HF_TOKEN = os.environ.get("HF_KEY")
20
- print("hfh", huggingface_hub.__version__, HF_TOKEN)
 
 
21
 
22
  # overriding/appending to the gradio template
23
  SCRIPT = """
 
8
  print("hfh", huggingface_hub.__version__)
9
  from huggingface_hub import hf_hub_download, upload_file
10
  from datetime import datetime
 
11
 
12
+ DATASET_REPO_ID = "datasets/ccml/dataset1"
13
  DATASET_REPO_URL = f"https://huggingface.co/{DATASET_REPO_ID}"
14
  DATA_DIRNAME = "data"
15
  DATA_FILENAME = "data.csv"
16
  DATA_FILE = os.path.join(DATA_DIRNAME, DATA_FILENAME)
17
 
18
+ HF_TOKEN = os.environ.get("HF_TOKEN")
19
+
20
+
21
+ print("hfh", huggingface_hub.__version__)
22
 
23
  # overriding/appending to the gradio template
24
  SCRIPT = """