mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-05 06:35:15 +00:00
Add an option to include/exclude attachments from previous messages in the chat prompt
This commit is contained in:
parent
b4d2a00e20
commit
2dee3a66ff
4 changed files with 8 additions and 4 deletions
|
|
@ -12,6 +12,7 @@ def create_ui():
|
|||
gr.Markdown("## Settings")
|
||||
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')
|
||||
shared.gradio['include_past_attachments'] = gr.Checkbox(label='Include attachments/search results from previous messages in the chat prompt', value=shared.settings['include_past_attachments'])
|
||||
|
||||
with gr.Column():
|
||||
gr.Markdown("## Extensions & flags")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue