Skip to content

Commit 246b860

Browse files
authored
fix the dir to look for data.json (#281)
1 parent 7ef0399 commit 246b860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kaggle_environments/envs/llm_20_questions/llm_20_questions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def weighted_random_category(keywords_list):
4949
alts = keyword_obj["alts"]
5050

5151
try:
52-
with open("/data.json") as f:
52+
with open("/kaggle_simulations/data.json") as f:
5353
json_content = f.read()
5454
d_keywords_list = json.loads(json_content)
5555
d_keyword_cat = weighted_random_category(d_keywords_list)

0 commit comments

Comments
 (0)