Add "send to" buttons for instruction templates
- Remove instruction templates from prompt dropdowns (default/notebook) - Add 3 buttons to Parameters > Instruction template as a replacement - Increase the number of lines of 'negative prompt' field to 3, and add a scrollbar - When uploading a character, switch to the Character tab - When uploading chat history, switch to the Chat tab
This commit is contained in:
parent
3ae2cee446
commit
4a05aa92cb
6 changed files with 76 additions and 27 deletions
|
@ -88,7 +88,6 @@ def get_available_prompts():
|
|||
files = set((k.stem for k in Path('prompts').glob('*.txt')))
|
||||
prompts += sorted([k for k in files if re.match('^[0-9]', k)], key=natural_keys, reverse=True)
|
||||
prompts += sorted([k for k in files if re.match('^[^0-9]', k)], key=natural_keys)
|
||||
prompts += ['Instruct-' + k for k in get_available_instruction_templates() if k != 'None']
|
||||
prompts += ['None']
|
||||
return prompts
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue