Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from chatbot import chatbot
|
| 2 |
|
| 3 |
from flask import Flask, render_template, request
|
| 4 |
|
|
@@ -12,7 +12,8 @@ def home():
|
|
| 12 |
@app.route("/get")
|
| 13 |
def get_bot_response():
|
| 14 |
userText = request.args.get('msg')
|
| 15 |
-
return str(chatbot.get_response(userText))
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
if __name__ == "__main__":
|
|
|
|
| 1 |
+
#from chatbot import chatbot
|
| 2 |
|
| 3 |
from flask import Flask, render_template, request
|
| 4 |
|
|
|
|
| 12 |
@app.route("/get")
|
| 13 |
def get_bot_response():
|
| 14 |
userText = request.args.get('msg')
|
| 15 |
+
#return str(chatbot.get_response(userText))
|
| 16 |
+
return "hi this is sample response"
|
| 17 |
|
| 18 |
|
| 19 |
if __name__ == "__main__":
|