deeksonparlma commited on
Commit ·
45bf0b2
1
Parent(s): 4db669b
updates to return value
Browse files
app.py
CHANGED
|
@@ -58,7 +58,9 @@ def chat(message):
|
|
| 58 |
|
| 59 |
# print(random.choice(responses))
|
| 60 |
response = random.choice(responses)
|
| 61 |
-
|
|
|
|
|
|
|
| 62 |
|
| 63 |
# history.append((message, response))
|
| 64 |
# return history, history
|
|
|
|
| 58 |
|
| 59 |
# print(random.choice(responses))
|
| 60 |
response = random.choice(responses)
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
return str(response)
|
| 64 |
|
| 65 |
# history.append((message, response))
|
| 66 |
# return history, history
|