From fdde9b5a67f2a4d8176aa84bdfd00d8d7cd942cd Mon Sep 17 00:00:00 2001 From: Jiawei Wang Date: Sat, 18 Jul 2020 10:22:05 +0800 Subject: [PATCH] Update rec_web_server.py --- python/examples/ocr/rec_web_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/ocr/rec_web_server.py b/python/examples/ocr/rec_web_server.py index 3e35b243..684c313d 100644 --- a/python/examples/ocr/rec_web_server.py +++ b/python/examples/ocr/rec_web_server.py @@ -66,6 +66,6 @@ ocr_service = OCRService(name="ocr") ocr_service.load_model_config("ocr_rec_model") ocr_service.set_gpus("0") ocr_service.init_rec() -ocr_service.prepare_server(workdir="workdir", port=8900, device="gpu", gpuid=0) +ocr_service.prepare_server(workdir="workdir", port=9292, device="gpu", gpuid=0) ocr_service.run_rpc_service() ocr_service.run_web_service() -- GitLab