bradley6597
commited on
Commit
•
38261be
1
Parent(s):
be08a55
Remove Numberblock Ills
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def search_index(search_text, sd, ks, sort_by, max_results, user_num, search_tit
|
|
113 |
.drop_duplicates())
|
114 |
output_df['Date Created'] = pd.to_datetime(output_df['Date Created'], format = 'mixed')
|
115 |
if do_not_use:
|
116 |
-
output_df = output_df[~output_df['filepath'].str.lower().str.contains("do.*not.*use|not.*general|don\\'t.*use|do.*no.*use", regex = True)]
|
117 |
|
118 |
map_df = output_df[output_df['title'].str.contains('map|Map', regex = True)]
|
119 |
if map_df.shape[0] > 0:
|
|
|
113 |
.drop_duplicates())
|
114 |
output_df['Date Created'] = pd.to_datetime(output_df['Date Created'], format = 'mixed')
|
115 |
if do_not_use:
|
116 |
+
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)]
|
117 |
|
118 |
map_df = output_df[output_df['title'].str.contains('map|Map', regex = True)]
|
119 |
if map_df.shape[0] > 0:
|