aboutsummaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-10 07:52:45 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-05-10 07:52:45 +0300
commit762265eab58cdb8f2d6398769bab43d8b8db0075 (patch)
tree7766901f867d84cf0662b2ae0d5bc55c673a08e8 /webui.py
parenta617d6488275a58da0627b3fed5f53593b2eb8b2 (diff)
autofixes from ruff
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 727ebd31..ec3d2aba 100644
--- a/webui.py
+++ b/webui.py
@@ -360,7 +360,7 @@ def webui():
if cmd_opts.subpath:
redirector = FastAPI()
redirector.get("/")
- mounted_app = gradio.mount_gradio_app(redirector, shared.demo, path=f"/{cmd_opts.subpath}")
+ gradio.mount_gradio_app(redirector, shared.demo, path=f"/{cmd_opts.subpath}")
wait_on_server(shared.demo)
print('Restarting UI...')