Skip to content

Commit 3d5290c

Browse files
committed
change Pride&Prejudice text_area label to reflect the content
1 parent e42a1fa commit 3d5290c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

renard/ui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,9 @@ def render_input_text(input_type: str):
350350
if input_type == "Predefined Example":
351351
pp = "\n".join(load_novel_chapters("pride_and_prejudice")[:10])
352352
text_area = gr.TextArea(
353-
label="Pride and Prejudice", value=pp, interactive=False
353+
label="Pride and Prejudice (10 first chapters)",
354+
value=pp,
355+
interactive=False,
354356
)
355357
input_text.value = pp
356358
elif input_type == "Upload .txt file":

0 commit comments

Comments
 (0)