提交 9478f123 编写于 作者: B barrierye

fix bug in gpu part

上级 93a3ee96
...@@ -655,7 +655,7 @@ class MultiLangServer(object): ...@@ -655,7 +655,7 @@ class MultiLangServer(object):
def set_gpuid(self, gpuid=0): def set_gpuid(self, gpuid=0):
self.bserver_.set_gpuid(gpuid) self.bserver_.set_gpuid(gpuid)
def load_model_config(self, model_config_path): def load_model_config(self, model_config_paths):
self.bserver_.load_model_config(model_config_paths) self.bserver_.load_model_config(model_config_paths)
if isinstance(model_config_paths, dict): if isinstance(model_config_paths, dict):
# print("You have specified multiple model paths, please ensure " # print("You have specified multiple model paths, please ensure "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册