Update app.py
Browse files
app.py
CHANGED
|
@@ -214,6 +214,10 @@ def google(name):
|
|
| 214 |
|
| 215 |
def greet(name1):
|
| 216 |
name = name1.lower()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
|
| 218 |
if "who are you" in name or "what is you" in name or "your name" in name or"who r u" in name:
|
| 219 |
|
|
|
|
| 214 |
|
| 215 |
def greet(name1):
|
| 216 |
name = name1.lower()
|
| 217 |
+
response = requests.post("https://ssebowa-org-chatbot.onrender.com/chatbot/"+name)
|
| 218 |
+
resul_list = response.json()
|
| 219 |
+
return resul_list
|
| 220 |
+
|
| 221 |
|
| 222 |
if "who are you" in name or "what is you" in name or "your name" in name or"who r u" in name:
|
| 223 |
|