Win and linux can run the code
This commit is contained in:
@@ -9,7 +9,7 @@ from typing import Dict, Iterable, List, Optional, Tuple
|
||||
|
||||
|
||||
def load_split(path: str) -> Dict[str, List[str]]:
|
||||
with open(path, "r", encoding="ascii") as f:
|
||||
with open(path, "r", encoding="utf-8") as f:
|
||||
return json.load(f)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user