Default port, https are changed

This commit is contained in:
wataru 2023-01-14 16:51:44 +09:00
parent d073271b89
commit b8b35c3d2c

View File

@ -20,12 +20,12 @@ def setupArgParser():
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("-t", type=str, default="MMVC", parser.add_argument("-t", type=str, default="MMVC",
help="Server type. MMVC|TRAIN") help="Server type. MMVC|TRAIN")
parser.add_argument("-p", type=int, default=8080, help="port") parser.add_argument("-p", type=int, default=18888, help="port")
parser.add_argument("-c", type=str, help="path for the config.json") parser.add_argument("-c", type=str, help="path for the config.json")
parser.add_argument("-m", type=str, help="path for the model file") parser.add_argument("-m", type=str, help="path for the model file")
parser.add_argument("-o", type=str, help="path for the onnx model file") parser.add_argument("-o", type=str, help="path for the onnx model file")
parser.add_argument("--https", type=strtobool, parser.add_argument("--https", type=strtobool,
default=False, help="use https") default=True, help="use https")
parser.add_argument("--httpsKey", type=str, parser.add_argument("--httpsKey", type=str,
default="ssl.key", help="path for the key of https") default="ssl.key", help="path for the key of https")
parser.add_argument("--httpsCert", type=str, parser.add_argument("--httpsCert", type=str,