Spaces:
Runtime error
Runtime error
Fixing default prompt
Browse files
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):
|