Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def predict(query,data):
|
|
87 |
print(e)
|
88 |
print(st)
|
89 |
|
90 |
-
if name_to_save+".txt" in os.listdir(
|
91 |
doc_emb = np.load('emb_{}.npy'.format(name_to_save),allow_pickle='TRUE').item()
|
92 |
doc_text = np.load('spans_{}.npy'.format(name_to_save),allow_pickle='TRUE').item()
|
93 |
file_names_dicto = np.load('file_{}.npy'.format(name_to_save),allow_pickle='TRUE').item()
|
|
|
87 |
print(e)
|
88 |
print(st)
|
89 |
|
90 |
+
if name_to_save+".txt" in os.listdir():
|
91 |
doc_emb = np.load('emb_{}.npy'.format(name_to_save),allow_pickle='TRUE').item()
|
92 |
doc_text = np.load('spans_{}.npy'.format(name_to_save),allow_pickle='TRUE').item()
|
93 |
file_names_dicto = np.load('file_{}.npy'.format(name_to_save),allow_pickle='TRUE').item()
|