shrivarshan commited on
Commit
4cd415c
1 Parent(s): 1bafbdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -61,6 +61,7 @@ def display_results(query):
61
  # Extract relevant items from search results
62
  if 'items' in search_results:
63
  ranked_results = rank_sources(search_results['items'])
 
64
 
65
  # Overall summary (bigger)
66
  st.write("### Overall Summary:")
 
61
  # Extract relevant items from search results
62
  if 'items' in search_results:
63
  ranked_results = rank_sources(search_results['items'])
64
+ ranked_results=ranked_results[:3]
65
 
66
  # Overall summary (bigger)
67
  st.write("### Overall Summary:")