Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def get_hugging_face_model():
|
|
19 |
|
20 |
|
21 |
def get_db():
|
22 |
-
with open("codesearchdb.pickle", "
|
23 |
#db = CPU_Unpickler(f).load()
|
24 |
db = f.load()
|
25 |
return db
|
|
|
19 |
|
20 |
|
21 |
def get_db():
|
22 |
+
with open("codesearchdb.pickle", "r") as f:
|
23 |
#db = CPU_Unpickler(f).load()
|
24 |
db = f.load()
|
25 |
return db
|