Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ question_model = question_model.to(device)
|
|
40 |
# filter keywords
|
41 |
wget.download('https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz')
|
42 |
# tar -xvf s2v_reddit_2015_md.tar.gz
|
43 |
-
patoolib.extract_archive("s2v_reddit_2015_md.tar.gz", outdir
|
44 |
import numpy as np
|
45 |
from sense2vec import Sense2Vec
|
46 |
s2v = Sense2Vec().from_disk('s2v_old')
|
|
|
40 |
# filter keywords
|
41 |
wget.download('https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz')
|
42 |
# tar -xvf s2v_reddit_2015_md.tar.gz
|
43 |
+
patoolib.extract_archive("s2v_reddit_2015_md.tar.gz", outdir="/")
|
44 |
import numpy as np
|
45 |
from sense2vec import Sense2Vec
|
46 |
s2v = Sense2Vec().from_disk('s2v_old')
|