Better way to generate custom prompts

This commit is contained in:
oobabooga 2023-02-25 01:08:17 -03:00
parent 67623a52b7
commit 13f2688134
2 changed files with 13 additions and 30 deletions

View file

@ -14,12 +14,7 @@ params = {
# custom output text
input_hijack = {
'state': 'off',
'value': []
}
prompt_hijack = {
'state': 'off',
'value': ""
'value': ["", ""]
}
def generate_chat_picture(picture, name1, name2):