Commit
•
0ec4926
1
Parent(s):
5fd0925
Added map warning
Browse files
app.py
CHANGED
@@ -102,7 +102,9 @@ def search_index(search_text, sd, ks, sort_by, max_results, user_num, search_tit
|
|
102 |
output = [x for o in output for x in o if type(x) is not float]
|
103 |
|
104 |
load_more_visible = False
|
105 |
-
|
|
|
|
|
106 |
if len(output) > 0:
|
107 |
|
108 |
output_df = (pd.DataFrame(output)
|
|
|
102 |
output = [x for o in output for x in o if type(x) is not float]
|
103 |
|
104 |
load_more_visible = False
|
105 |
+
if 'map' in search_text:
|
106 |
+
gr.Warning("If real-world maps needed please check it is in the folder: Illustrations Now > Maps - Using the New Guidance (2024)")
|
107 |
+
|
108 |
if len(output) > 0:
|
109 |
|
110 |
output_df = (pd.DataFrame(output)
|