aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-04-29 09:45:50 +0000
committerGitHub <noreply@github.com>2023-04-29 09:45:50 +0000
commite018c8a391d65aaf0a2d2c66a293757227b53070 (patch)
tree6c31ea8ced8590afd4ba019be838bea41885b6cd /modules/ui.py
parent2c935d8eb0be10edb226e145a72eb373451cb984 (diff)
parente6cbfcfe5b42dd8d40ddaf2ecd448b8b0c070565 (diff)
downloadstable-diffusion-webui-gfx803-e018c8a391d65aaf0a2d2c66a293757227b53070.tar.gz
stable-diffusion-webui-gfx803-e018c8a391d65aaf0a2d2c66a293757227b53070.tar.bz2
stable-diffusion-webui-gfx803-e018c8a391d65aaf0a2d2c66a293757227b53070.zip
Merge pull request #8945 from space-nuko/gradio-theme-support
Support Gradio's theme API
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 7370d595..dab94b93 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -1565,7 +1565,7 @@ def create_ui():
for _interface, label, _ifid in interfaces:
shared.tab_names.append(label)
- with gr.Blocks(analytics_enabled=False, title="Stable Diffusion") as demo:
+ with gr.Blocks(theme=shared.gradio_theme, analytics_enabled=False, title="Stable Diffusion") as demo:
with gr.Row(elem_id="quicksettings", variant="compact"):
for i, k, item in sorted(quicksettings_list, key=lambda x: quicksettings_names.get(x[1], x[0])):
component = create_setting_component(k, is_quicksettings=True)