p1atdev commited on
Commit
29c745d
β€’
1 Parent(s): f365bae

better negative prompt

Browse files
Files changed (1) hide show
  1. app.py +17 -6
app.py CHANGED
@@ -58,15 +58,26 @@ TEMPLATE = (
58
  "<general>{subject}"
59
  )
60
  QUALITY_TAGS = "masterpiece, best quality, very aesthetic"
61
- NEGATIVE_PROMPT = "(worst quality, bad quality:1.1), very displeasing, lowres, jaggy lines, 3d, blurry, watermark, signature, copyright notice, logo, scan, jpeg artifacts, chromatic aberration, white outline, film grain, artistic error, bad anatomy, bad hands, wrong hand, 2010s, 2011s, 2012s, 2013s"
62
  BAN_TAGS = [
63
  "photoshop (medium)",
64
  "clip studio paint (medium)",
65
- "absurdres",
66
- "highres",
67
- "copyright request",
68
- "character request",
69
- "creature request",
 
 
 
 
 
 
 
 
 
 
 
70
  ]
71
 
72
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
58
  "<general>{subject}"
59
  )
60
  QUALITY_TAGS = "masterpiece, best quality, very aesthetic"
61
+ NEGATIVE_PROMPT = "(worst quality, bad quality:1.1), very displeasing, lowres, blurry, watermark, signature, copyright, logo, jpeg artifacts, film grain, artistic error, bad anatomy, bad hands, wrong hand, retro, 2000s, 2010s, 2011s, 2012s, 2013s"
62
  BAN_TAGS = [
63
  "photoshop (medium)",
64
  "clip studio paint (medium)",
65
+ "2005", # year tags
66
+ "2006",
67
+ "2007",
68
+ "2008",
69
+ "2009",
70
+ "2010",
71
+ "2011",
72
+ "2012",
73
+ "2013",
74
+ "2014",
75
+ "2015",
76
+ "2016",
77
+ "2017",
78
+ "2018",
79
+ "2019",
80
+ "2020",
81
  ]
82
 
83
  device = "cuda" if torch.cuda.is_available() else "cpu"