Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ class BasicAgent:
|
|
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
|
|
|
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
|