From 3260add223aa290f63af8a14f4883b4f623ba7b0 Mon Sep 17 00:00:00 2001 From: lvmin Date: Fri, 11 Aug 2023 06:33:44 -0700 Subject: [PATCH] i --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 1b929b98..4d516a18 100644 --- a/webui.py +++ b/webui.py @@ -47,7 +47,7 @@ with block: gallery = gr.Gallery(label='Gallery', show_label=False, object_fit='contain', height=768) with gr.Row(): with gr.Column(scale=0.85): - prompt = gr.Textbox(show_label=False, placeholder="Type prompt here.", container=False) + prompt = gr.Textbox(show_label=False, placeholder="Type prompt here.", container=False, autofocus=True) with gr.Column(scale=0.15, min_width=0): run_button = gr.Button(label="Generate", value="Generate") with gr.Row():