Commit 7a81e41f authored by wuzekai's avatar wuzekai

Add new file

parent 95a1c8ea
Pipeline #538 canceled with stages
from flask import Flask
from ocr import ocr
app = Flask(__name__)
app.secret_key = '1234567'
app.register_blueprint(ocr, url_prefix="/ocr")
# 注册 OCR 蓝图
@app.route("/")
def index():
return "This is root api."
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8019, debug=True)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment