Update license_info.py
Browse files- 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,
|
| 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 =
|
| 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",
|