Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -116,27 +116,12 @@ def main():
|
|
116 |
|
117 |
st.write("## Results and Demo")
|
118 |
|
119 |
-
|
120 |
|
121 |
-
if query != "":
|
122 |
-
with st.spinner("Searching..."):
|
123 |
-
results = show_model(query)
|
124 |
-
|
125 |
-
#Output passages & scores
|
126 |
-
for doc, score, title in results[:10]:
|
127 |
-
st.write("Score: ", score)
|
128 |
-
st.write("Title:", title)
|
129 |
-
st.write("Abstract:", abstract)
|
130 |
-
st.write("---")
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
st.image("pres-futureplans.png")
|
137 |
|
138 |
st.write("## Critical Analysis")
|
139 |
-
st.write("-
|
140 |
st.write("- only embeds the first 5000 datasets")
|
141 |
st.write("- calculates embeddings for datasets with each run")
|
142 |
|
|
|
116 |
|
117 |
st.write("## Results and Demo")
|
118 |
|
119 |
+
st.write("[Demo Notebook](https://github.com/myrandaGoesToSpace/semantic-search-datasets/blob/main/semantic_search.ipynb)")
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
st.image("pres-futureplans.png")
|
122 |
|
123 |
st.write("## Critical Analysis")
|
124 |
+
st.write("- did not run with Streamlit text input")
|
125 |
st.write("- only embeds the first 5000 datasets")
|
126 |
st.write("- calculates embeddings for datasets with each run")
|
127 |
|