Update app.py
Browse files
app.py
CHANGED
|
@@ -216,7 +216,7 @@ 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:
|
|
|
|
| 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['result']
|
| 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:
|