Commit
·
a33d7ac
1
Parent(s):
cd7f7f6
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ if form_button:
|
|
57 |
model = load_w2v('models/stihi_ru_word2vec.bin')
|
58 |
|
59 |
try:
|
60 |
-
model['_'.join((target_word, target_word_pos))]
|
61 |
except KeyError:
|
62 |
st.error("The word you entered is not present in the model")
|
63 |
st.stop()
|
|
|
57 |
model = load_w2v('models/stihi_ru_word2vec.bin')
|
58 |
|
59 |
try:
|
60 |
+
model['_'.join((target_word, target_word_pos))]
|
61 |
except KeyError:
|
62 |
st.error("The word you entered is not present in the model")
|
63 |
st.stop()
|