fix web_demo.py warn style

pull/459/head
xiagw 2023-08-15 15:09:27 +08:00
parent 80602dcae1
commit f1f37a4aa8
1 changed files with 1 additions and 2 deletions

View File

@ -86,8 +86,7 @@ with gr.Blocks() as demo:
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):