提交 e53c4273 编写于 作者: W wangjiawei04

fix rec local

上级 95f820b8
......@@ -163,7 +163,7 @@ class OCRService(WebService):
if __name__ == "__main__":
ocr_service = OCRService(name="ocr")
ocr_service.load_model_config("ocr_rec_model")
ocr_service.load_model_config(global_args.rec_model_dir)
ocr_service.init_rec()
if global_args.use_gpu:
ocr_service.prepare_server(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册