From 03f1aa629a26a2ea23f1b51bd4fd3b2b99fcceaf Mon Sep 17 00:00:00 2001 From: cornzz <39997278+cornzz@users.noreply.github.com> Date: Sun, 15 Sep 2024 17:49:39 +0300 Subject: [PATCH] Allow multiline questions --- src/app.css | 6 ------ src/app.py | 1 - 2 files changed, 7 deletions(-) diff --git a/src/app.css b/src/app.css index f3f63ee..3e03e1e 100644 --- a/src/app.css +++ b/src/app.css @@ -1,10 +1,4 @@ /* Inputs */ -input[type="text"], -textarea { - min-height: 42px; - padding: 6px var(--input-padding); -} - input::placeholder, textarea::placeholder { opacity: 0.4; diff --git a/src/app.py b/src/app.py index 8819523..f8e450a 100644 --- a/src/app.py +++ b/src/app.py @@ -261,7 +261,6 @@ def run_demo( question = gr.Textbox( label="Question", lines=1, - max_lines=1, placeholder=example_dataset[1]["QA_pairs"][6][0], elem_classes="question-target", )