kayfahaarukku commited on
Commit
428bf93
·
verified ·
1 Parent(s): 8ba42c0

Fixing default prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,8 +25,8 @@ def generate_image(prompt, negative_prompt, use_defaults, resolution, guidance_s
25
  if randomize_seed:
26
  seed = random.randint(0, 99999999)
27
  if use_defaults:
28
- prompt = f"{prompt}, masterpiece, best quality"
29
- negative_prompt = f"nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, {negative_prompt}"
30
  generator = torch.manual_seed(seed)
31
 
32
  def callback(step, timestep, latents):
 
25
  if randomize_seed:
26
  seed = random.randint(0, 99999999)
27
  if use_defaults:
28
+ prompt = f"{prompt}, masterpiece, best quality, amazing quality, very aesthetic"
29
+ negative_prompt = f"nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, displeasing, {negative_prompt}"
30
  generator = torch.manual_seed(seed)
31
 
32
  def callback(step, timestep, latents):