mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +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
|
|
@ -268,6 +268,11 @@ def list_interface_input_elements():
|
|||
# Model elements
|
||||
elements += list_model_elements()
|
||||
|
||||
# Other elements
|
||||
elements += [
|
||||
'paste_to_attachment'
|
||||
]
|
||||
|
||||
return elements
|
||||
|
||||
|
||||
|
|
@ -473,6 +478,7 @@ def setup_auto_save():
|
|||
# Session tab (ui_session.py)
|
||||
'show_controls',
|
||||
'theme_state',
|
||||
'paste_to_attachment'
|
||||
]
|
||||
|
||||
for element_name in change_elements:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue