Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def main():
|
|
137 |
results = search_system.search(clean_query, 5)
|
138 |
search_duration = time.time() - start_time
|
139 |
|
140 |
-
if
|
141 |
st.warning("No matches found")
|
142 |
st.info("Try refining your search terms")
|
143 |
else:
|
|
|
137 |
results = search_system.search(clean_query, 5)
|
138 |
search_duration = time.time() - start_time
|
139 |
|
140 |
+
if results.empty:
|
141 |
st.warning("No matches found")
|
142 |
st.info("Try refining your search terms")
|
143 |
else:
|