mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 22:27:29 +00:00
Make it optional to paste long pasted content to an attachment
This commit is contained in:
parent
42e7864d62
commit
84f66484c5
4 changed files with 9 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ def create_ui():
|
|||
gr.Markdown("## Settings")
|
||||
shared.gradio['save_settings'] = gr.Button('Save settings to user_data/settings.yaml', elem_classes='refresh-button', interactive=not mu)
|
||||
shared.gradio['toggle_dark_mode'] = gr.Button('Toggle light/dark theme 💡', elem_classes='refresh-button')
|
||||
shared.gradio['paste_to_attachment'] = gr.Checkbox(label='Turn long pasted text into attachments in the Chat tab', value=shared.settings['paste_to_attachment'], elem_id='paste_to_attachment')
|
||||
|
||||
with gr.Column():
|
||||
gr.Markdown("## Extensions & flags")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue