Add files via upload

This commit is contained in:
RVC-Boss 2024-01-21 23:02:52 +08:00 committed by GitHub
parent 19ff34260b
commit da6cab78d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -296,6 +296,7 @@ def set_global(load_json, load_list, json_key_text, json_key_path, batch):
if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Process some integers.')
parser.add_argument('--load_json', default="None", help='source file, like demo.json')
parser.add_argument('--is_share', default="False", help='whether webui is_share=True')
parser.add_argument('--load_list', default="None", help='source file, like demo.list')
parser.add_argument('--webui_port_subfix', default=9871, help='source file, like demo.list')
parser.add_argument('--json_key_text', default="text", help='the text key name in json, Default: text')
@ -490,5 +491,6 @@ if __name__ == "__main__":
server_name="0.0.0.0",
inbrowser=True,
quiet=True,
share=eval(args.is_share),
server_port=int(args.webui_port_subfix)
)