Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,7 @@ def flask_app():
|
|
44 |
|
45 |
def ricerca(domanda):
|
46 |
dati=[]
|
47 |
-
|
48 |
-
word = pickle.load(fp)
|
49 |
with open ('static/textT', 'rb') as fp:
|
50 |
text = pickle.load(fp)
|
51 |
word_orig=np.array(word, dtype="object")
|
|
|
44 |
|
45 |
def ricerca(domanda):
|
46 |
dati=[]
|
47 |
+
word=np.load('./Script/encodedT.npy',allow_pickle=True)
|
|
|
48 |
with open ('static/textT', 'rb') as fp:
|
49 |
text = pickle.load(fp)
|
50 |
word_orig=np.array(word, dtype="object")
|