Th3BossC commited on
Commit
7866674
·
1 Parent(s): 04eacd0

fixed minor bugs

Browse files
Files changed (3) hide show
  1. ChitChat/resources/routes.py +1 -1
  2. app.py +4 -4
  3. instance/site.db +0 -0
ChitChat/resources/routes.py CHANGED
@@ -50,7 +50,7 @@ class ChatBot(Resource):
50
 
51
  reply = conversation(user, userInput)
52
  return {'reply' : reply}
53
- api.add_resource(ChatBot, '/chat/<int:user_id>')
54
 
55
 
56
 
 
50
 
51
  reply = conversation(user, userInput)
52
  return {'reply' : reply}
53
+ api.add_resource(ChatBot, '/chat/<string:user_id>')
54
 
55
 
56
 
app.py CHANGED
@@ -3,8 +3,8 @@ from ChitChat import create_app
3
 
4
  app = create_app()
5
 
6
- # if __name__ == '__main__':
7
- # app.run(debug = True, port = 5000)
8
-
9
  if __name__ == '__main__':
10
- app.run(debug = False, host = "0.0.0.0", port = 7860)
 
 
 
 
3
 
4
  app = create_app()
5
 
 
 
 
6
  if __name__ == '__main__':
7
+ app.run(debug = True, port = 5000)
8
+
9
+ # if __name__ == '__main__':
10
+ # app.run(debug = False, host = "0.0.0.0", port = 7860)
instance/site.db CHANGED
Binary files a/instance/site.db and b/instance/site.db differ