prasadnu commited on
Commit
b972006
·
1 Parent(s): 58eb742

rerank model

Browse files
Files changed (1) hide show
  1. pages/Semantic_Search.py +1 -1
pages/Semantic_Search.py CHANGED
@@ -746,7 +746,7 @@ def render_answer(answer,index):
746
  i = 0
747
  filter_out = 0
748
  if len(answer) == 0:
749
- st.write("No results found")
750
  else:
751
  for ans in answer:
752
  if('b5/b5319e00' in ans['image_url'] ):
 
746
  i = 0
747
  filter_out = 0
748
  if len(answer) == 0:
749
+ st.markdown("<p style='fontSize:20px;color:blue>No results found, please try again with different query</p>", unsafe_allow_html = True)
750
  else:
751
  for ans in answer:
752
  if('b5/b5319e00' in ans['image_url'] ):