Skip to content

Commit

Permalink
Allow multiline questions
Browse files Browse the repository at this point in the history
  • Loading branch information
cornzz committed Sep 15, 2024
1 parent 748f122 commit 03f1aa6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/app.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
/* Inputs */
input[type="text"],
textarea {
min-height: 42px;
padding: 6px var(--input-padding);
}

input::placeholder,
textarea::placeholder {
opacity: 0.4;
Expand Down
1 change: 0 additions & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down

0 comments on commit 03f1aa6

Please sign in to comment.