Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def clean_words(words):
|
|
32 |
return clean_dict
|
33 |
|
34 |
path = "cc.fr.300.vec"
|
35 |
-
m = KeyedVectors.load_word2vec_format(path)
|
36 |
|
37 |
def on_submit(text, mode):
|
38 |
print('{} mode'.format(mode))
|
|
|
32 |
return clean_dict
|
33 |
|
34 |
path = "cc.fr.300.vec"
|
35 |
+
m = KeyedVectors.load_word2vec_format(path, limit = 10000)
|
36 |
|
37 |
def on_submit(text, mode):
|
38 |
print('{} mode'.format(mode))
|