ThePixOne commited on
Commit
6c4a90b
1 Parent(s): 7d71416

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def encode_docs(docs,maxlen = 64, stride = 32):
74
 
75
  return embeddings, spans, file_names
76
 
77
- def predict(query,data):
78
  name_to_save = data.name.split("\\")[-1].split(".")[0][:-8]
79
  st = str([query,name_to_save])
80
  hist = st + " " + str(hashlib.sha256(st.encode()).hexdigest())
 
74
 
75
  return embeddings, spans, file_names
76
 
77
+ def predict(query,data):
78
  name_to_save = data.name.split("\\")[-1].split(".")[0][:-8]
79
  st = str([query,name_to_save])
80
  hist = st + " " + str(hashlib.sha256(st.encode()).hexdigest())