aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2023-05-19 14:22:32 +0000
committerAarni Koskela <akx@iki.fi>2023-05-19 14:35:51 +0000
commit674e80c6255655b9163477913742b36cc5e05003 (patch)
tree68765a81defce94a2b9ec81752e7999e51a85839
parent8a178e67172f4677cad747b3364db3f2a0636911 (diff)
downloadstable-diffusion-webui-gfx803-674e80c6255655b9163477913742b36cc5e05003.tar.gz
stable-diffusion-webui-gfx803-674e80c6255655b9163477913742b36cc5e05003.tar.bz2
stable-diffusion-webui-gfx803-674e80c6255655b9163477913742b36cc5e05003.zip
Note pending PR for app_kwargs
-rw-r--r--webui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/webui.py b/webui.py
index 53fe260e..e568ef42 100644
--- a/webui.py
+++ b/webui.py
@@ -326,6 +326,7 @@ def webui():
# this restores the missing /docs endpoint
if launch_api and not hasattr(FastAPI, 'original_setup'):
+ # TODO: replace this with `launch(app_kwargs=...)` if https://github.com/gradio-app/gradio/pull/4282 gets merged
def fastapi_setup(self):
self.docs_url = "/docs"
self.redoc_url = "/redoc"