mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
Default port, https are changed
This commit is contained in:
parent
d073271b89
commit
b8b35c3d2c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user