diff options
author | orionaskatu <100234619+orionaskatu@users.noreply.github.com> | 2022-09-08 07:47:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 07:47:56 +0000 |
commit | db92896e30d61df7d2bf62033150184e76b664de (patch) | |
tree | c70a2f7ca3b3e771ad0b5853fa8a0fbb65fb1d5c /modules/shared.py | |
parent | 4f3cebd51d18256aff3c8b6af3cfc21d793e89ee (diff) | |
download | stable-diffusion-webui-gfx803-db92896e30d61df7d2bf62033150184e76b664de.tar.gz stable-diffusion-webui-gfx803-db92896e30d61df7d2bf62033150184e76b664de.tar.bz2 stable-diffusion-webui-gfx803-db92896e30d61df7d2bf62033150184e76b664de.zip |
help message for ports < 1024
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index b65c9616..1882cf34 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -34,7 +34,7 @@ parser.add_argument("--share", action='store_true', help="use share=True for gra parser.add_argument("--esrgan-models-path", type=str, help="path to directory with ESRGAN models", default=os.path.join(script_path, 'ESRGAN'))
parser.add_argument("--opt-split-attention", action='store_true', help="enable optimization that reduced vram usage by a lot for about 10%% decrease in performance")
parser.add_argument("--listen", action='store_true', help="launch gradio with 0.0.0.0 as server name, allowing to respond to network requests")
-parser.add_argument("--port", type=int, help="launch gradio with given server port", default=7860)
+parser.add_argument("--port", type=int, help="launch gradio with given server port, you need root/admin rights for ports < 1024", default=7860)
cmd_opts = parser.parse_args()
if torch.has_cuda:
|