Spaces:
Runtime error
Runtime error
Update pages/task1.py
Browse files- pages/task1.py +4 -1
pages/task1.py
CHANGED
@@ -6,6 +6,9 @@ from transformers import AutoTokenizer, AutoModel
|
|
6 |
import torch
|
7 |
import pickle
|
8 |
|
|
|
|
|
|
|
9 |
import matplotlib.pyplot as plt
|
10 |
|
11 |
with open('srcs/vocab_to_int.json', encoding='utf-8') as f:
|
@@ -61,7 +64,7 @@ st.markdown("""
|
|
61 |
|
62 |
|
63 |
st.title('Кинопоиск')
|
64 |
-
st.page_link("
|
65 |
|
66 |
import streamlit as st
|
67 |
|
|
|
6 |
import torch
|
7 |
import pickle
|
8 |
|
9 |
+
import nltk
|
10 |
+
nltk.download('stopwords')
|
11 |
+
|
12 |
import matplotlib.pyplot as plt
|
13 |
|
14 |
with open('srcs/vocab_to_int.json', encoding='utf-8') as f:
|
|
|
64 |
|
65 |
|
66 |
st.title('Кинопоиск')
|
67 |
+
st.page_link("app.py", label="Home", icon='🏠')
|
68 |
|
69 |
import streamlit as st
|
70 |
|