jordi-ai2 commited on
Commit
7b3501c
·
verified ·
1 Parent(s): cbe0682

Update license_info.py

Browse files
Files changed (1) hide show
  1. license_info.py +2 -2
license_info.py CHANGED
@@ -12,14 +12,14 @@ try:
12
  import requests
13
  import zstandard as zstd
14
  from datasets import load_dataset
15
- from huggingface_hub import hf_hub_url, HfFolder
16
  except ImportError as e:
17
  print(
18
  f"Please setup your environment with e.g. `pip install h5py requests zstandard datasets huggingface_hub`"
19
  )
20
  raise
21
 
22
- TOKEN = HfFolder.get_token()
23
  REPO = "allenai/molmobot-data"
24
  TASK_CONFIGS = [
25
  "DoorOpeningDataGenConfig",
 
12
  import requests
13
  import zstandard as zstd
14
  from datasets import load_dataset
15
+ from huggingface_hub import hf_hub_url, get_token
16
  except ImportError as e:
17
  print(
18
  f"Please setup your environment with e.g. `pip install h5py requests zstandard datasets huggingface_hub`"
19
  )
20
  raise
21
 
22
+ TOKEN = get_token()
23
  REPO = "allenai/molmobot-data"
24
  TASK_CONFIGS = [
25
  "DoorOpeningDataGenConfig",