From 76861de84f5ded69d6d85cc818fbf719c803bcb9 Mon Sep 17 00:00:00 2001 From: lvmin Date: Sat, 14 Oct 2023 03:05:07 -0700 Subject: [PATCH] title --- webui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 374837de..be1c7cd6 100644 --- a/webui.py +++ b/webui.py @@ -47,7 +47,10 @@ def generate_clicked(*args): return -shared.gradio_root = gr.Blocks(title='Fooocus ' + fooocus_version.version, css=modules.html.css).queue() +shared.gradio_root = gr.Blocks( + title=f'Fooocus {fooocus_version.version} ' + ('' if args_manager.args.preset is None else args_manager.args.preset), + css=modules.html.css).queue() + with shared.gradio_root: with gr.Row(): with gr.Column():