PinoCorgi commited on
Commit
23dc09a
1 Parent(s): ca2394b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def get_hugging_face_model():
19
 
20
 
21
  def get_db():
22
- with open("codesearchdb.pickle", "rb") as f:
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