Set default negative prompt
This commit is contained in:
parent
de1afc8291
commit
d8b107b84a
1 changed files with 2 additions and 0 deletions
|
|
@ -768,6 +768,8 @@ async def blog(ctx, *args):
|
||||||
)
|
)
|
||||||
async def negative_prompt(ctx, *args):
|
async def negative_prompt(ctx, *args):
|
||||||
message = ' '.join(args)
|
message = ' '.join(args)
|
||||||
|
if not message:
|
||||||
|
message = "easynegative, badhandv4, verybadimagenegative_v1.3"
|
||||||
neg_prompt_file = "databases/negative_prompt.txt"
|
neg_prompt_file = "databases/negative_prompt.txt"
|
||||||
with open(neg_prompt_file, 'w') as f:
|
with open(neg_prompt_file, 'w') as f:
|
||||||
f.writelines(message)
|
f.writelines(message)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue