Spaces:
Runtime error
Runtime error
Neal Caren
commited on
Commit
•
1819245
1
Parent(s):
9f25694
Fixed error 37a
Browse files
app.py
CHANGED
@@ -32,8 +32,10 @@ def load_embeddings():
|
|
32 |
url = "https://drive.google.com/uc?export=download&id=1z9eoBI07p_YtrdK1ZWZeCRT5T5mu5nhV"
|
33 |
output = "embeddings.npy"
|
34 |
gdown.download(url, output, quiet=False)
|
|
|
|
|
35 |
return corpus_embeddings
|
36 |
-
|
37 |
@st.cache
|
38 |
def load_data(url):
|
39 |
#url = "https://drive.google.com/uc?export=download&id=1nIBS9is8YCeiPBqA7MifVC5xeaKWH8uL"
|
|
|
32 |
url = "https://drive.google.com/uc?export=download&id=1z9eoBI07p_YtrdK1ZWZeCRT5T5mu5nhV"
|
33 |
output = "embeddings.npy"
|
34 |
gdown.download(url, output, quiet=False)
|
35 |
+
|
36 |
+
corpus_embeddings = np.load(output)
|
37 |
return corpus_embeddings
|
38 |
+
|
39 |
@st.cache
|
40 |
def load_data(url):
|
41 |
#url = "https://drive.google.com/uc?export=download&id=1nIBS9is8YCeiPBqA7MifVC5xeaKWH8uL"
|