提交 bd163135 编写于 作者: D Dong Daxiang 提交者: GitHub

Update IMDB_GO_CLIENT.md

上级 5f2fa075
...@@ -31,11 +31,13 @@ from paddle_serving_server import Server ...@@ -31,11 +31,13 @@ from paddle_serving_server import Server
op_maker = OpMaker() op_maker = OpMaker()
read_op = op_maker.create('general_text_reader') read_op = op_maker.create('general_text_reader')
general_infer_op = op_maker.create('general_text_infer') general_infer_op = op_maker.create('general_infer')
general_response_op = op_maker.create('general_text_response')
op_seq_maker = OpSeqMaker() op_seq_maker = OpSeqMaker()
op_seq_maker.add_op(read_op) op_seq_maker.add_op(read_op)
op_seq_maker.add_op(general_infer_op) op_seq_maker.add_op(general_infer_op)
op_seq_maker.add_op(general_response_op)
server = Server() server = Server()
server.set_op_sequence(op_seq_maker.get_op_sequence()) server.set_op_sequence(op_seq_maker.get_op_sequence())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册