From f1f37a4aa8b8130808f82dfb520512d5ee29e332 Mon Sep 17 00:00:00 2001 From: xiagw Date: Tue, 15 Aug 2023 15:09:27 +0800 Subject: [PATCH] fix web_demo.py warn style --- web_demo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web_demo.py b/web_demo.py index 1af24c9..f31016a 100644 --- a/web_demo.py +++ b/web_demo.py @@ -86,8 +86,7 @@ def reset_state(): with gr.Row(): with gr.Column(scale=4): with gr.Column(scale=12): - user_input = gr.Textbox(show_label=False, placeholder="Input...", lines=10).style( - container=False) + user_input = gr.Textbox(show_label=False, placeholder="Input...", lines=10, container=False) with gr.Column(min_width=32, scale=1): submitBtn = gr.Button("Submit", variant="primary") with gr.Column(scale=1):