We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2e9e3c commit 278239eCopy full SHA for 278239e
paddlehub/commands/serving.py
@@ -222,6 +222,7 @@ def preinstall_modules(self):
222
223
def start_app_with_file(self):
224
port = self.args.config.get("port", 8866)
225
+ self.args.port = port
226
if ServingCommand.is_port_occupied("127.0.0.1", port) is True:
227
print("Port %s is occupied, please change it." % port)
228
return False
@@ -240,6 +241,7 @@ def start_app_with_file(self):
240
241
242
def start_single_app_with_file(self):
243
244
245
246
247
0 commit comments