aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorpapuSpartan <mcgpapu@gmail.com>2022-11-05 09:06:51 +0000
committerpapuSpartan <mcgpapu@gmail.com>2022-11-05 09:06:51 +0000
commite9a5562b9b27a1a4f9c282637b111cefd9727a41 (patch)
treebb70682a89aca867b00eb1a0e7404be9649b127e /modules/shared.py
parent30b1bcc64e67ad50c5d3af3a6fe1bd1e9553f34e (diff)
downloadstable-diffusion-webui-gfx803-e9a5562b9b27a1a4f9c282637b111cefd9727a41.tar.gz
stable-diffusion-webui-gfx803-e9a5562b9b27a1a4f9c282637b111cefd9727a41.tar.bz2
stable-diffusion-webui-gfx803-e9a5562b9b27a1a4f9c282637b111cefd9727a41.zip
add support for tls (gradio tls options)
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 962115f6..7a20c3af 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -86,6 +86,9 @@ parser.add_argument("--nowebui", action='store_true', help="use api=True to laun
parser.add_argument("--ui-debug-mode", action='store_true', help="Don't load model to quickly launch UI")
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)
parser.add_argument("--administrator", action='store_true', help="Administrator rights", default=False)
+parser.add_argument("--tls-keyfile", type=str, help="Partially enables TLS, requires --tls-certfile to fully function", default=None)
+parser.add_argument("--tls-certfile", type=str, help="Partially enables TLS, requires --tls-keyfile to fully function", default=None)
+parser.add_argument("--server-name", type=str, help="Sets hostname of server", default=None)
cmd_opts = parser.parse_args()
restricted_opts = {