PrabakaranC commited on
Commit
f27dba6
·
verified ·
1 Parent(s): 5158933

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -78,6 +78,8 @@ with st.form("my_form"):
78
  to_index = list(top_indices.numpy()[0])
79
  top_items_per_query = [bigDollEmbedding.tolist()[index] for index in to_index]
80
 
 
 
81
  df = pd.DataFrame({"Product":top_items_per_query,"Score":top_values[0]})
82
  df["Product"] = df["Product"].str.replace("search_document:","")
83
  # st.dataframe(df)
 
78
  to_index = list(top_indices.numpy()[0])
79
  top_items_per_query = [bigDollEmbedding.tolist()[index] for index in to_index]
80
 
81
+ print(top_values)
82
+
83
  df = pd.DataFrame({"Product":top_items_per_query,"Score":top_values[0]})
84
  df["Product"] = df["Product"].str.replace("search_document:","")
85
  # st.dataframe(df)