Spaces:
Sleeping
Sleeping
AlzbetaStrompova
commited on
Commit
•
d09e4cf
1
Parent(s):
2e3bc39
fix param name
Browse files- website_script.py +1 -1
website_script.py
CHANGED
@@ -43,7 +43,7 @@ def load_pickle(path):
|
|
43 |
:param path: path to the gazetteer file
|
44 |
:return: a dict of gazetteers
|
45 |
"""
|
46 |
-
with open(
|
47 |
data = pickle.load(file)
|
48 |
return data
|
49 |
|
|
|
43 |
:param path: path to the gazetteer file
|
44 |
:return: a dict of gazetteers
|
45 |
"""
|
46 |
+
with open(path, 'rb') as file:
|
47 |
data = pickle.load(file)
|
48 |
return data
|
49 |
|