chatcustom / app.py
Yaswanth56's picture
Update app.py
c32c1af verified
raw
history blame
405 Bytes
from flask import Flask, render_template, send_from_directory
app = Flask(__name__, template_folder='templates', static_folder='static')
@app.route('/')
def index():
return render_template('index.html')
@app.route('/static/<path:filename>')
def serve_static(filename):
return send_from_directory('static', filename)
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=7860)