Tran Xuan Huy commited on
Commit
32d775e
1 Parent(s): 8c01256

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,10 +42,10 @@ def encode_database(db_in):
42
  print("Encode database successfully")
43
  return df
44
 
45
- model = SentenceTransformer("something/model")
46
  model.eval()
47
 
48
- with open('something/new2oldmatch.json', 'r') as openfile:
49
  new2oldmatch = json.load(openfile)
50
  new2oldmatch = {u.strip().lower(): v.strip() for u, v in new2oldmatch.items()}
51
 
 
42
  print("Encode database successfully")
43
  return df
44
 
45
+ model = SentenceTransformer("Huy1432884/function_retrieval")
46
  model.eval()
47
 
48
+ with open('new2oldmatch.json', 'r') as openfile:
49
  new2oldmatch = json.load(openfile)
50
  new2oldmatch = {u.strip().lower(): v.strip() for u, v in new2oldmatch.items()}
51