amoldwalunj commited on
Commit
4da94a0
·
1 Parent(s): f8deb3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def main():
37
  if st.button("Enter"):
38
  st.write("Top 5 matches using semantic search:")
39
 
40
- xq = model.encode([input_string]).tolist()
41
  result = index.query(xq, top_k=5, includeMetadata=True)
42
 
43
  Ingredient=[]
 
37
  if st.button("Enter"):
38
  st.write("Top 5 matches using semantic search:")
39
 
40
+ xq = loaded_model.encode([input_string]).tolist()
41
  result = index.query(xq, top_k=5, includeMetadata=True)
42
 
43
  Ingredient=[]