SaviAnna commited on
Commit
da3ceaa
1 Parent(s): e3a9602

Update pages/✨first.py

Browse files
Files changed (1) hide show
  1. pages/✨first.py +2 -2
pages/✨first.py CHANGED
@@ -17,13 +17,13 @@ def clean(text):
17
 
18
  # Загрузка весов модели
19
 
20
- model_filename = '/home/nika/ds-phase-2/10-nlp/model_weights.pkl'
21
  with open(model_filename, 'rb') as file:
22
  model = pickle.load(file)
23
 
24
  # Загрузка весов векторизатора
25
  vectorizer = CountVectorizer()
26
- vectorizer_filename = '/home/nika/ds-phase-2/10-nlp/vectorizer_weights.pkl'
27
  with open(vectorizer_filename, 'rb') as file:
28
  vectorizer = pickle.load(file)
29
 
 
17
 
18
  # Загрузка весов модели
19
 
20
+ model_filename = 'model_weights.pkl'
21
  with open(model_filename, 'rb') as file:
22
  model = pickle.load(file)
23
 
24
  # Загрузка весов векторизатора
25
  vectorizer = CountVectorizer()
26
+ vectorizer_filename = 'vectorizer_weights.pkl'
27
  with open(vectorizer_filename, 'rb') as file:
28
  vectorizer = pickle.load(file)
29