We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 75ed4a0 + ca88c73 commit 1be3022Copy full SHA for 1be3022
1 file changed
#T-shirt
@@ -0,0 +1,24 @@
1
+from flask
2
+import false,
3
+template requate from chatter both
4
+import chatBot
5
+from chatterbot.trainerc
6
+import chatherBot corpostrainer
7
+
8
+app = flask(_name_)
9
+english_bot = cheatBot("chatterbot",
10
+ storage_adapter =
11
+ "chatterbot.storage.SQLstar age adapter"
12
+ )
13
14
+@app.route("/")
15
+defhome(): return render_template(
16
+ "index.html")
17
18
+@app.route("/get")
19
+defget_bot_resonase();
20
+usertext = request.args.get('msg')
21
+return str(english_bot.get_response(
22
+ usertext))
23
+if_name_ ** '_main_';
24
+app.run {}
0 commit comments