veidlink commited on
Commit
c8880c1
1 Parent(s): 8686168

Corrected paths

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -10,11 +10,11 @@ def sigmoid(x):
10
  return 1 / (1 + np.exp(-x))
11
 
12
  # Загрузка сохраненных данных и индекса
13
- text_embeddings = joblib.load('release_3/mail_embeddings.joblib')
14
- index = faiss.read_index('release_3/mail_faiss_index.index')
15
 
16
  # Датасет
17
- df = pd.read_csv('release_3/clean_mail_movie.csv')
18
  titles = df['movie_title'].tolist()
19
  images = df['image_url'].tolist()
20
  descr = df['description'].tolist()
 
10
  return 1 / (1 + np.exp(-x))
11
 
12
  # Загрузка сохраненных данных и индекса
13
+ text_embeddings = joblib.load('mail_embeddings.joblib')
14
+ index = faiss.read_index('mail_faiss_index.index')
15
 
16
  # Датасет
17
+ df = pd.read_csv('clean_mail_movie.csv')
18
  titles = df['movie_title'].tolist()
19
  images = df['image_url'].tolist()
20
  descr = df['description'].tolist()