Skip to content

Commit

Permalink
feat: update demo text area labels and placeholders for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
titusz committed Aug 14, 2024
1 parent 2024354 commit 49f6674
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions iscc_sct/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ def generate_similarity_bar(similarity):
minimum=64,
maximum=256,
step=32,
value=64,
value=128,
)
with gr.Row(variant="panel"):
with gr.Column(variant="panel"):
in_text_a = gr.TextArea(
label="Text",
placeholder="Paste your text here or select sample from below",
label="Text A",
placeholder="Click the sample text below or type or paste your text.",
lines=12,
max_lines=12,
)
Expand All @@ -172,8 +172,8 @@ def generate_similarity_bar(similarity):
gr.ClearButton(components=[in_text_a])
with gr.Column(variant="panel"):
in_text_b = gr.TextArea(
label="Text",
placeholder="Paste your text here or select sample from below",
label="Text B",
placeholder="Click the sample text below or type or paste your text.",
lines=12,
max_lines=12,
)
Expand Down

0 comments on commit 49f6674

Please sign in to comment.