wza commited on
Commit
205cbd3
1 Parent(s): 8202136

Update TimeTravel.py

Browse files
Files changed (1) hide show
  1. TimeTravel.py +6 -6
TimeTravel.py CHANGED
@@ -154,10 +154,10 @@ class TimeTravel(datasets.GeneratorBasedBuilder):
154
  with open(filepath, encoding="utf-8") as f:
155
  for key, row in enumerate(f):
156
  yield key, {
157
- "story_id": data["story_id"],
158
- "premise": data["premise"],
159
- "initial": data["initial"],
160
- "counterfactual": data["counterfactual"],
161
- "original_ending": data["original_ending"],
162
- "edited_ending": data["edited_ending"],
163
  }
 
154
  with open(filepath, encoding="utf-8") as f:
155
  for key, row in enumerate(f):
156
  yield key, {
157
+ "story_id": row["story_id"],
158
+ "premise": row["premise"],
159
+ "initial": row["initial"],
160
+ "counterfactual": row["counterfactual"],
161
+ "original_ending": row["original_ending"],
162
+ "edited_ending": row["edited_ending"],
163
  }