We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41540ee commit 209f34fCopy full SHA for 209f34f
1 file changed
renard/ui.py
@@ -353,9 +353,9 @@ def render_input_text(input_type: str):
353
label="Pride and Prejudice", value=pp, interactive=False
354
)
355
input_text.value = pp
356
- elif input_type == "Upload file":
+ elif input_type == "Upload .txt file":
357
upload_area = gr.File(
358
- label="Input text file", file_types=["text"]
+ label="Input .txt file", file_types=["text"]
359
360
upload_area.upload(
361
lambda path: open(path).read(), [upload_area], [input_text]
0 commit comments