bradley6597 commited on
Commit
ff114d8
1 Parent(s): b9cabd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -135,9 +135,12 @@ def search_index(search_text, sd, ks, sort_by, max_results, user_num, search_tit
135
  final_df = final_df.fillna('')
136
  else:
137
  final_df = pd.DataFrame(['<h3>No Results Found :(</h3>'])
 
138
 
139
  if final_df.shape[0] == 0 :
140
  final_df = pd.DataFrame(['<h3>No Results Found :(</h3>'])
 
 
141
 
142
  return('<center>' +
143
  final_df.to_html(escape = False, render_links = True, index = False, header = False) +
 
135
  final_df = final_df.fillna('')
136
  else:
137
  final_df = pd.DataFrame(['<h3>No Results Found :(</h3>'])
138
+ total_returned = 'No. of Results to Return (Total: 0)'
139
 
140
  if final_df.shape[0] == 0 :
141
  final_df = pd.DataFrame(['<h3>No Results Found :(</h3>'])
142
+ total_returned = 'No. of Results to Return (Total: 0)'
143
+
144
 
145
  return('<center>' +
146
  final_df.to_html(escape = False, render_links = True, index = False, header = False) +