Skip to content

Commit 5627a3d

Browse files
authored
🔧 fix pickle usage (#8)
1 parent b1e1f7c commit 5627a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_react/index_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize_index():
2828
index.save_to_disk(index_name)
2929
if os.path.exists(pkl_name):
3030
with open(pkl_name, "rb") as f:
31-
stored_docs = pkl.load(f)
31+
stored_docs = pickle.load(f)
3232

3333

3434
def query_index(query_text):

0 commit comments

Comments
 (0)