Spaces:
Build error
Build error
Commit
·
2cd581a
1
Parent(s):
56172ab
Update app.py
Browse files
app.py
CHANGED
@@ -223,8 +223,8 @@ def get_distractors_wordnet(word):
|
|
223 |
print ("Wordnet distractors not found")
|
224 |
return distractors
|
225 |
|
226 |
-
glove_file = '
|
227 |
-
tmp_file = '
|
228 |
|
229 |
glove2word2vec(glove_file, tmp_file)
|
230 |
model = KeyedVectors.load_word2vec_format(tmp_file)
|
|
|
223 |
print ("Wordnet distractors not found")
|
224 |
return distractors
|
225 |
|
226 |
+
glove_file = '/home/user/app/glove.6B.300d.txt'
|
227 |
+
tmp_file = '/home/user/app/word2vec-glove.6B.300d.txt'
|
228 |
|
229 |
glove2word2vec(glove_file, tmp_file)
|
230 |
model = KeyedVectors.load_word2vec_format(tmp_file)
|