bradley6597 commited on
Commit
21b1424
1 Parent(s): b784903

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -114,9 +114,6 @@ def search_index(search_text, sd, ks, sort_by, max_results, user_num, search_tit
114
  output_df = output_df[~output_df['filepath'].str.lower().str.contains("do.*not.*use|not.*general|don\\'t.*use|do.*no.*use|numberblock", regex = True)]
115
 
116
  map_df = output_df[output_df['title'].str.contains('map|Map', regex = True)]
117
- if map_df.shape[0] > 0:
118
- extra_info = '<div id="mapBorder"><strong>If real-world maps are needed please check they are from the folder: Illustrations Now > Maps - Using the New Guidance (2024)</strong></div><br>'
119
-
120
  output_df['url'] = output_df['url'].str.replace("/u/0/", f"/u/{int(user_num)}/", regex = False)
121
  output_df_temp = pd.DataFrame()
122
  if len(sd) > 0:
 
114
  output_df = output_df[~output_df['filepath'].str.lower().str.contains("do.*not.*use|not.*general|don\\'t.*use|do.*no.*use|numberblock", regex = True)]
115
 
116
  map_df = output_df[output_df['title'].str.contains('map|Map', regex = True)]
 
 
 
117
  output_df['url'] = output_df['url'].str.replace("/u/0/", f"/u/{int(user_num)}/", regex = False)
118
  output_df_temp = pd.DataFrame()
119
  if len(sd) > 0: