|
81 | 81 | parser.add_argument("--enable-console-prompts", action='store_true', help="print prompts to console when generating with txt2img and img2img", default=False)
|
82 | 82 | parser.add_argument('--vae-path', type=str, help='Path to Variational Autoencoders model', default=None)
|
83 | 83 | parser.add_argument("--disable-safe-unpickle", action='store_true', help="disable checking pytorch models for malicious code", default=False)
|
84 |
| -parser.add_argument("--api", action='store_true', help="use api=True to launch the api with the webui") |
85 |
| -parser.add_argument("--nowebui", action='store_true', help="use api=True to launch the api instead of the webui") |
| 84 | +parser.add_argument("--api", action='store_true', help="use api=True to launch the API together with the webui (use --nowebui instead for only the API)") |
| 85 | +parser.add_argument("--nowebui", action='store_true', help="use api=True to launch the API instead of the webui") |
86 | 86 | parser.add_argument("--ui-debug-mode", action='store_true', help="Don't load model to quickly launch UI")
|
87 | 87 | parser.add_argument("--device-id", type=str, help="Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before)", default=None)
|
88 | 88 | parser.add_argument("--administrator", action='store_true', help="Administrator rights", default=False)
|
89 |
| -parser.add_argument("--cors-allow-origins", type=str, help="Allowed CORS origins", default=None) |
| 89 | +parser.add_argument("--cors-allow-origins", type=str, help="Allowed CORS origin(s) in the form of a comma-separated list (no spaces)", default=None) |
| 90 | +parser.add_argument("--cors-allow-origins-regex", type=str, help="Allowed CORS origin(s) in the form of a single regular expression", default=None) |
90 | 91 | parser.add_argument("--tls-keyfile", type=str, help="Partially enables TLS, requires --tls-certfile to fully function", default=None)
|
91 | 92 | parser.add_argument("--tls-certfile", type=str, help="Partially enables TLS, requires --tls-keyfile to fully function", default=None)
|
92 | 93 | parser.add_argument("--server-name", type=str, help="Sets hostname of server", default=None)
|
|
0 commit comments