pierrefdz commited on
Commit
526b432
1 Parent(s): 434f036

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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))