BilalSardar commited on
Commit
2cd581a
·
1 Parent(s): 56172ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = 'https://drive.google.com/drive/folders/1aXvgqwC4BHes9njkapacNAT5SYGOTCIg?usp=sharing/glove.6B.300d.txt'
227
- tmp_file = 'https://drive.google.com/drive/folders/1aXvgqwC4BHes9njkapacNAT5SYGOTCIg?usp=sharing/word2vec-glove.6B.300d.txt'
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)