diff --git a/python/examples/ocr/det_web_server.py b/python/examples/ocr/det_web_server.py index 454e96869d68c80a3522f2706c4d5486fb98b645..dd69be0c70eb0f4dd627aa47ad33045a204f78c0 100644 --- a/python/examples/ocr/det_web_server.py +++ b/python/examples/ocr/det_web_server.py @@ -66,7 +66,7 @@ class OCRService(WebService): ocr_service = OCRService(name="ocr") ocr_service.load_model_config("ocr_det_model") ocr_service.set_gpus("0") -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.init_det() ocr_service.run_rpc_service() ocr_service.run_web_service()