Update stream_access_example.py
Browse files- stream_access_example.py +2 -2
stream_access_example.py
CHANGED
|
@@ -13,7 +13,7 @@ try:
|
|
| 13 |
import requests
|
| 14 |
import zstandard as zstd
|
| 15 |
from datasets import load_dataset
|
| 16 |
-
from huggingface_hub import hf_hub_url,
|
| 17 |
except ImportError:
|
| 18 |
print(
|
| 19 |
"Please setup your environment with e.g."
|
|
@@ -21,7 +21,7 @@ except ImportError:
|
|
| 21 |
)
|
| 22 |
raise
|
| 23 |
|
| 24 |
-
TOKEN =
|
| 25 |
REPO = "allenai/molmobot-data"
|
| 26 |
TASK_CONFIGS = [
|
| 27 |
"DoorOpeningDataGenConfig",
|
|
|
|
| 13 |
import requests
|
| 14 |
import zstandard as zstd
|
| 15 |
from datasets import load_dataset
|
| 16 |
+
from huggingface_hub import hf_hub_url, get_token
|
| 17 |
except ImportError:
|
| 18 |
print(
|
| 19 |
"Please setup your environment with e.g."
|
|
|
|
| 21 |
)
|
| 22 |
raise
|
| 23 |
|
| 24 |
+
TOKEN = get_token()
|
| 25 |
REPO = "allenai/molmobot-data"
|
| 26 |
TASK_CONFIGS = [
|
| 27 |
"DoorOpeningDataGenConfig",
|