File size: 415 Bytes
ecc8582
4fd20f1
 
 
 
 
 
 
 
 
 
 
 
 
ecc8582
 
4fd20f1
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#from chatbot import chatbot

from flask import Flask, render_template, request

app = Flask(__name__)
app.static_folder = 'static'

@app.route("/")
def home():
    return render_template("index.html")

@app.route("/get")
def get_bot_response():
    userText = request.args.get('msg')
    #return str(chatbot.get_response(userText))
    return "hi this is sample response"


if __name__ == "__main__":
    app.run()