diff --git a/python/examples/ocr/rec_web_server.py b/python/examples/ocr/rec_web_server.py index 3e35b2435ac812b130cddb58c55c405e741d2bb8..684c313d4d50cfe00c576c81aad05a810525dcce 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()