Update app.py
Browse files
app.py
CHANGED
@@ -289,7 +289,7 @@ def query_creator(key, organization, plain_query):
|
|
289 |
#For each named entity in the query
|
290 |
for i in range(len(entities)):
|
291 |
|
292 |
-
if entities_label[i] in ['ORDINAL', 'CARDINAL']:
|
293 |
continue
|
294 |
#Use cosine similarity on each entity to find closest matching string from tables.
|
295 |
col, best_match = find_column(entities[i])
|
|
|
289 |
#For each named entity in the query
|
290 |
for i in range(len(entities)):
|
291 |
|
292 |
+
if entities_label[i] in ['ORDINAL', 'CARDINAL', 'DATE']:
|
293 |
continue
|
294 |
#Use cosine similarity on each entity to find closest matching string from tables.
|
295 |
col, best_match = find_column(entities[i])
|