Edit chat
Browse files
main.py
CHANGED
@@ -84,7 +84,8 @@ if __name__ == "__main__":
|
|
84 |
|
85 |
cb = Chatbot(data=data)
|
86 |
while True:
|
87 |
-
message = input("User: ")
|
88 |
-
|
89 |
-
|
|
|
90 |
break
|
|
|
84 |
|
85 |
cb = Chatbot(data=data)
|
86 |
while True:
|
87 |
+
message = input("User: ")
|
88 |
+
response = cb(message)
|
89 |
+
print("Chatbot:", response)
|
90 |
+
if response == "Пока":
|
91 |
break
|