
LIAN_MODELID = 600

STATUS_FAILTURE = "failture"
STATUS_SUCCESS = "success"

INFO_RIGHT_FORMAT = "right format"
INFO_WRONG_FORMAT = "wrong format"
INFO_WRONG_KEYS = "wrong keys"
INFO_WRONG_MODELID = "wrong modelId"


PATH_INIT = "/home/lcong/automl/data/"
PATH_PDF_DOWN = PATH_INIT + "downpdf"
PATH_PDF_CUT = PATH_INIT + "cutpdf"
PATH_PIC_DOWN = PATH_INIT + "downpic"
PATH_TMP = PATH_INIT + "tmp"


YIDAO_URL = 'http://api.exocr.com/ocr/v1/general'
APP_KEY = '7bf244e5c68244f89ac8fe0e253bdb18'
APP_SECRET = 'addf96c55fc8e6ae70b6b48d063679a7'
HEADERS = {'Content-Type': 'application/x-www-form-urlencoded'}
