Toumaima commited on
Commit
2c50982
·
verified ·
1 Parent(s): 30525ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ class BasicAgent:
105
  ]
106
 
107
  for item in logic_patterns:
108
- if re.search(item["pattern"], q):
109
  return item["answer"]
110
 
111
  return None
 
105
  ]
106
 
107
  for item in logic_patterns:
108
+ if re.search(item["pattern"], q, re.IGNORECASE)
109
  return item["answer"]
110
 
111
  return None