from flask import Flask from time import sleep app = Flask(__name__) @app.route("/") def index(): sleep(300) return {} if __name__ == "__main__": app.run(host="0.0.0.0", port=7860)