提交 9e534086 编写于 作者: B barriery

update code

上级 6d74f2a8
...@@ -129,7 +129,7 @@ rec_op = RecOp( ...@@ -129,7 +129,7 @@ rec_op = RecOp(
concurrency=1) concurrency=1)
response_op = ResponseOp(input_ops=[rec_op]) response_op = ResponseOp(input_ops=[rec_op])
server = PipelineServer() server = PipelineServer("ocr")
server.set_response_op(response_op) server.set_response_op(response_op)
server.prepare_server('config.yml') server.prepare_server('config.yml')
server.run_server() server.run_server()
...@@ -128,7 +128,7 @@ rec_op = RecOp( ...@@ -128,7 +128,7 @@ rec_op = RecOp(
concurrency=1) concurrency=1)
response_op = ResponseOp(input_ops=[rec_op]) response_op = ResponseOp(input_ops=[rec_op])
server = PipelineServer() server = PipelineServer("ocr")
server.set_response_op(response_op) server.set_response_op(response_op)
server.prepare_server('config.yml') server.prepare_server('config.yml')
server.run_server() server.run_server()
...@@ -123,7 +123,7 @@ rec_op = RecOp( ...@@ -123,7 +123,7 @@ rec_op = RecOp(
concurrency=1) concurrency=1)
response_op = ResponseOp(input_ops=[rec_op]) response_op = ResponseOp(input_ops=[rec_op])
server = PipelineServer() server = PipelineServer("ocr")
server.set_response_op(response_op) server.set_response_op(response_op)
server.prepare_server('config.yml') server.prepare_server('config.yml')
server.run_server() server.run_server()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册