Testys commited on
Commit
4c7de63
·
1 Parent(s): ab5f789

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 not results:
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: