Vish2005 commited on
Commit
5217c5e
1 Parent(s): 9dfef10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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])