Kiruthikaramalingam commited on
Commit
9c01256
·
verified ·
1 Parent(s): f826dc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -1,16 +1,16 @@
1
- from flask import Flask, render_template
2
- from routes.chatbot_routes import chatbot_routes
3
- import os
4
-
5
- # Explicitly set the templates folder
6
- app = Flask(__name__, template_folder=os.path.join(os.getcwd(), "templates"))
7
-
8
- # Register routes
9
- app.register_blueprint(chatbot_routes)
10
-
11
- @app.route("/")
12
- def home():
13
- return render_template("tempor.html")
14
-
15
- if __name__ == "__main__":
16
- app.run(debug=True)
 
1
+ from flask import Flask, render_template
2
+ from routes.chatbot_routes import chatbot_routes
3
+ import os
4
+
5
+ # Explicitly set the templates folder
6
+ app = Flask(__name__, template_folder=os.path.join(os.getcwd(), "templates"))
7
+
8
+ # Register routes
9
+ app.register_blueprint(chatbot_routes)
10
+
11
+ @app.route("/")
12
+ def home():
13
+ return render_template("tempor.html")
14
+
15
+ if __name__ == "__main__":
16
+ app.run(debug=True, host="0.0.0.0", port=5000)