diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-05-18 07:12:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 07:12:17 +0000 |
commit | 182330ae40c93b761fced8d03bbdd8523f1739d0 (patch) | |
tree | c95f2e531cc34475eb39266add6d12a2a5e1e2b3 /modules/ngrok.py | |
parent | 0d31f20cbd556ea4ba3d8ad9254bcce71c32088c (diff) | |
parent | 983f2c494ad8fed2f08193681ba0bf5dda01555a (diff) | |
download | stable-diffusion-webui-gfx803-182330ae40c93b761fced8d03bbdd8523f1739d0.tar.gz stable-diffusion-webui-gfx803-182330ae40c93b761fced8d03bbdd8523f1739d0.tar.bz2 stable-diffusion-webui-gfx803-182330ae40c93b761fced8d03bbdd8523f1739d0.zip |
Merge branch 'dev' into ngrok-py
Diffstat (limited to 'modules/ngrok.py')
-rw-r--r-- | modules/ngrok.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ngrok.py b/modules/ngrok.py index caa352d1..0c713e27 100644 --- a/modules/ngrok.py +++ b/modules/ngrok.py @@ -19,6 +19,7 @@ def connect(token, port, options): if not options.get('session_metadata'): options['session_metadata'] = 'stable-diffusion-webui' + try: public_url = ngrok.connect(f"127.0.0.1:{port}", **options).url() except Exception as e: |