Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,8 @@ question_tokenizer = T5Tokenizer.from_pretrained('ramsrigouthamg/t5_squad_v1')
|
|
27 |
question_model = question_model.to(device)
|
28 |
|
29 |
# filter keywords
|
30 |
-
|
31 |
-
|
32 |
import numpy as np
|
33 |
from sense2vec import Sense2Vec
|
34 |
s2v = Sense2Vec().from_disk('s2v_old')
|
|
|
27 |
question_model = question_model.to(device)
|
28 |
|
29 |
# filter keywords
|
30 |
+
wget https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz
|
31 |
+
tar -xvf s2v_reddit_2015_md.tar.gz
|
32 |
import numpy as np
|
33 |
from sense2vec import Sense2Vec
|
34 |
s2v = Sense2Vec().from_disk('s2v_old')
|