from chatBot import create_app from threading import Thread from flask import redirect, url_for app = create_app() @app.route('/') def index(): return redirect(url_for('update.upload')) def run(): app.run(host='0.0.0.0', port=7860, debug=False) run()