Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,8 @@ def main():
|
|
118 |
|
119 |
query = st.text_input("Enter your query:")
|
120 |
|
121 |
-
|
|
|
122 |
|
123 |
#Output passages & scores
|
124 |
for doc, score, title in results[:10]:
|
|
|
118 |
|
119 |
query = st.text_input("Enter your query:")
|
120 |
|
121 |
+
with st.spinner("Searching..."):
|
122 |
+
results = show_model(query)
|
123 |
|
124 |
#Output passages & scores
|
125 |
for doc, score, title in results[:10]:
|