diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-04-29 09:45:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 09:45:50 +0000 |
commit | e018c8a391d65aaf0a2d2c66a293757227b53070 (patch) | |
tree | 6c31ea8ced8590afd4ba019be838bea41885b6cd /modules/ui.py | |
parent | 2c935d8eb0be10edb226e145a72eb373451cb984 (diff) | |
parent | e6cbfcfe5b42dd8d40ddaf2ecd448b8b0c070565 (diff) | |
download | stable-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.py | 2 |
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)
|