diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000000000000000000000000000000000..862fd6e495c9b89d7d8083ecd372b5c822af45d0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "core/general-client/pybind11"] + path = core/general-client/pybind11 + url = https://github.com/pybind/pybind11 diff --git a/core/general-client/pybind11 b/core/general-client/pybind11 index 9a19306fbf30642ca331d0ec88e7da54a96860f9..4f72ef846fe8453596230ac285eeaa0ce3278bb4 160000 --- a/core/general-client/pybind11 +++ b/core/general-client/pybind11 @@ -1 +1 @@ -Subproject commit 9a19306fbf30642ca331d0ec88e7da54a96860f9 +Subproject commit 4f72ef846fe8453596230ac285eeaa0ce3278bb4 diff --git a/doc/IMDB_GO_CLIENT.md b/doc/IMDB_GO_CLIENT.md index 896a6e0b15a4568582e3535b0c61ee831d7d4259..ec3a3a8c1e62e8a787dfc17d9057f42cffa8b7af 100644 --- a/doc/IMDB_GO_CLIENT.md +++ b/doc/IMDB_GO_CLIENT.md @@ -31,11 +31,13 @@ from paddle_serving_server import Server op_maker = OpMaker() 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.add_op(read_op) op_seq_maker.add_op(general_infer_op) +op_seq_maker.add_op(general_response_op) server = Server() server.set_op_sequence(op_seq_maker.get_op_sequence()) diff --git a/go/serving_client/serving_client_api.go b/go/serving_client/serving_client_api.go index 486feffe32195ef0792b6094c24a70bf54996187..6fcdb9454d04fb134470902e7713b4c40e197d37 100644 --- a/go/serving_client/serving_client_api.go +++ b/go/serving_client/serving_client_api.go @@ -20,7 +20,7 @@ import ( "io/ioutil" "log" "net/http" - pb "general_model" + pb "github.com/PaddlePaddle/Serving/go/proto" "github.com/golang/protobuf/proto" )