aboutsummaryrefslogtreecommitdiffstats
path: root/webui.py
diff options
context:
space:
mode:
authorspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-03-25 20:11:41 +0000
committerspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-03-25 20:11:41 +0000
commitc9647c8d23efa8c939c6af39878784e246082122 (patch)
treec4e08787b7473bfb927d7321b00cd69a35d42c9c /webui.py
parenta0d07fb5807ad55c8ccfdfc9a6d9ae3c62b9d211 (diff)
downloadstable-diffusion-webui-gfx803-c9647c8d23efa8c939c6af39878784e246082122.tar.gz
stable-diffusion-webui-gfx803-c9647c8d23efa8c939c6af39878784e246082122.tar.bz2
stable-diffusion-webui-gfx803-c9647c8d23efa8c939c6af39878784e246082122.zip
Support Gradio's theme API
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/webui.py b/webui.py
index 30f3e4a1..6986e576 100644
--- a/webui.py
+++ b/webui.py
@@ -150,6 +150,7 @@ def initialize():
shared.opts.onchange("sd_vae", wrap_queued_call(lambda: modules.sd_vae.reload_vae_weights()), call=False)
shared.opts.onchange("sd_vae_as_default", wrap_queued_call(lambda: modules.sd_vae.reload_vae_weights()), call=False)
shared.opts.onchange("temp_dir", ui_tempdir.on_tmpdir_changed)
+ shared.opts.onchange("gradio_theme", shared.reload_gradio_theme)
startup_timer.record("opts onchange")
shared.reload_hypernetworks()