danschnurp commited on
Commit
9e1ea5c
·
verified ·
1 Parent(s): 854d1c6

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -75,7 +75,8 @@ def build_faiss_index(dataset: pd.DataFrame) -> Tuple[faiss.IndexFlatIP, np.ndar
75
 
76
 
77
  def compute_correlations_faiss(index: faiss.IndexFlatIP, book_titles: List[str],
78
- target_book: str, ) -> pd.DataFrame:
 
79
  emb = create_embedding([target_book])
80
  # target_vector = book_titles.index(emb)
81
 
 
75
 
76
 
77
  def compute_correlations_faiss(index: faiss.IndexFlatIP, book_titles: List[str],
78
+ target_book, ) -> pd.DataFrame:
79
+ print(target_book, type(target_book))
80
  emb = create_embedding([target_book])
81
  # target_vector = book_titles.index(emb)
82