Spaces:
Running
on
Zero
Running
on
Zero
env variable name change
Browse files- data_manager.py +1 -1
data_manager.py
CHANGED
|
@@ -7,7 +7,7 @@ from huggingface_hub.utils import HfHubHTTPError
|
|
| 7 |
|
| 8 |
# Constant for the dataset repository, configurable via environment variable
|
| 9 |
DATASET_REPO = os.getenv("HF_DATASET_REPO", "Jofthomas/geoguessr_game_of_the_day")
|
| 10 |
-
BLOCK_MULTIPLE_GAMES = os.getenv("
|
| 11 |
|
| 12 |
def get_todays_records_path() -> str:
|
| 13 |
"""Gets the path for today's game records file, e.g., 'records/2025-10-03.json'."""
|
|
|
|
| 7 |
|
| 8 |
# Constant for the dataset repository, configurable via environment variable
|
| 9 |
DATASET_REPO = os.getenv("HF_DATASET_REPO", "Jofthomas/geoguessr_game_of_the_day")
|
| 10 |
+
BLOCK_MULTIPLE_GAMES = os.getenv("Block_Multiple_games", "False") == "true"
|
| 11 |
|
| 12 |
def get_todays_records_path() -> str:
|
| 13 |
"""Gets the path for today's game records file, e.g., 'records/2025-10-03.json'."""
|