Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -258,8 +258,8 @@ def get_random_character():
|
|
| 258 |
return random.choice(characters)
|
| 259 |
|
| 260 |
def add_quality_tags(prompt, negative_prompt):
|
| 261 |
-
positive_tags = "score_9, score_8_up, score_7_up, score_6_up, dramatic lighting"
|
| 262 |
-
negative_tags = "score_4, score_5, simple background, monochrome, extra fingers, distorted hands, distorted fingers,low quality, lowres, bad anatomy, worst quality"
|
| 263 |
|
| 264 |
new_prompt = f"{positive_tags}, {prompt}" if prompt else positive_tags
|
| 265 |
new_negative_prompt = f"{negative_tags}, {negative_prompt}" if negative_prompt else negative_tags
|
|
|
|
| 258 |
return random.choice(characters)
|
| 259 |
|
| 260 |
def add_quality_tags(prompt, negative_prompt):
|
| 261 |
+
positive_tags = "score_9, score_8_up, score_7_up, score_6_up, dramatic lighting, rating_safe"
|
| 262 |
+
negative_tags = "score_4, score_5, nsfw, nude, rating_explicit, simple background, monochrome, extra fingers, distorted hands, distorted fingers,low quality, lowres, bad anatomy, worst quality"
|
| 263 |
|
| 264 |
new_prompt = f"{positive_tags}, {prompt}" if prompt else positive_tags
|
| 265 |
new_negative_prompt = f"{negative_tags}, {negative_prompt}" if negative_prompt else negative_tags
|