Yaron Koresh commited on
Commit
d69180f
·
verified ·
1 Parent(s): 201c32a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def infer(p1,p2):
99
  else:
100
  _do = f'{ p1 }, beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
101
  if p2 != "":
102
- _do = f'{_do}, anti-{p2.replace(" ","-")}, {p2.replace(" ","-")}-free, excluding {p2.replace(" ","-")}, no {p2.replace(" ","-")}, {p2.replace(" ","-")} excluded where in'
103
  output = Piper(_do)
104
  if output == "":
105
  return output
 
99
  else:
100
  _do = f'{ p1 }, beautiful, playful, photographed, highly detailed, realistic elements, dynamic poze, deep field, vivid reasonable coloring, rough texture, high sharpness, highres, best quality, focused'
101
  if p2 != "":
102
+ _do = f'fully transparent and negative {p2} where in {p1}, {_do}, fully transparent and negative {p2} where in {p1}'
103
  output = Piper(_do)
104
  if output == "":
105
  return output