Sergidev commited on
Commit
0145a1c
1 Parent(s): 64387da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,7 +38,7 @@ DESCRIPTION = '''
38
  <div>
39
  <h1 style="text-align: center;">High Definition Pony Diffusion</h1>
40
  <p>Gradio demo for PonyDiffusion v6 with image gallery, json prompt support, advanced options and more.</p>
41
- <p>❤️ Thanks for ✨10k visits! 12-8-24: updated quality tags which excludes SFM and3d.</p>
42
  <p>🔎 For more details about me, take a look at <a href="https://sergidev.me">My website</a>.</p>
43
  <p>🌚 For dark mode compatibility, click <a href="https://sergidev.me/hdiffusion">here</a>.</p>
44
  </div>
@@ -257,8 +257,8 @@ def get_random_character():
257
  return random.choice(characters)
258
 
259
  def add_quality_tags(prompt, negative_prompt):
260
- positive_tags = "score_9, score_8_up, score_7_up, BREAK, high detail, smooth, sharp lines, detailed, masterpiece, outdoors"
261
- negative_tags = "score_4, score_5, score_6, 3d, sfm, extra fingers, distorted hands,distorted fingers, ,low quality, lowres, bad anatomy,worst quality, simple background ,text,signature, lineless, watermark,signature, logo"
262
 
263
  new_prompt = f"{positive_tags}, {prompt}" if prompt else positive_tags
264
  new_negative_prompt = f"{negative_tags}, {negative_prompt}" if negative_prompt else negative_tags
 
38
  <div>
39
  <h1 style="text-align: center;">High Definition Pony Diffusion</h1>
40
  <p>Gradio demo for PonyDiffusion v6 with image gallery, json prompt support, advanced options and more.</p>
41
+ <p>❤️ Thanks for ✨10k visits! FLUX INTEGRATION COMING SOON!</p>
42
  <p>🔎 For more details about me, take a look at <a href="https://sergidev.me">My website</a>.</p>
43
  <p>🌚 For dark mode compatibility, click <a href="https://sergidev.me/hdiffusion">here</a>.</p>
44
  </div>
 
257
  return random.choice(characters)
258
 
259
  def add_quality_tags(prompt, negative_prompt):
260
+ positive_tags = "score_9, score_8_up, score_7_up, score_6_up, dramatic lighting"
261
+ negative_tags = "worst quality, low quality, text, censored, deformed, bad hand, blurry, (watermark), mutated hands, monochrome"
262
 
263
  new_prompt = f"{positive_tags}, {prompt}" if prompt else positive_tags
264
  new_negative_prompt = f"{negative_tags}, {negative_prompt}" if negative_prompt else negative_tags