From 2cbb66f21b4c49d7cd1a7e9f3f815e3ea9fd2dc7 Mon Sep 17 00:00:00 2001 From: lukhy Date: Mon, 1 Jul 2019 15:20:24 +0800 Subject: [PATCH] fix --- examples/demo-server.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/demo-server.py b/examples/demo-server.py index 4b6189f..9636c26 100644 --- a/examples/demo-server.py +++ b/examples/demo-server.py @@ -13,13 +13,6 @@ app = Flask(__name__) -@app.route("/", methods=["GET"]) -def index(): - with open("examples/record.html") as f: - html = f.read() - return html - - @app.route("/recognize", methods=["POST"]) def recognize(): f = request.files["file"]