Spaces:
Sleeping
Sleeping
Update pages/model.py
Browse files- pages/model.py +1 -1
pages/model.py
CHANGED
@@ -195,7 +195,7 @@ text = st.text_input('Input some news')
|
|
195 |
text_4_test = text
|
196 |
|
197 |
# Загрузка словаря из файла
|
198 |
-
with open('
|
199 |
vocab_to_int = pickle.load(f)
|
200 |
|
201 |
if text != '':
|
|
|
195 |
text_4_test = text
|
196 |
|
197 |
# Загрузка словаря из файла
|
198 |
+
with open('models/vocab_to_int.pkl', 'rb') as f:
|
199 |
vocab_to_int = pickle.load(f)
|
200 |
|
201 |
if text != '':
|