Yaron Koresh commited on
Commit
2add16d
·
verified ·
1 Parent(s): b806069

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -101,9 +101,9 @@ def infer(prompt_en,prompt2_en):
101
  else:
102
  _do = f'photographed { prompt_en } reasonable situation'
103
  if prompt2_en == "":
104
- _dont = 'unformed, unproportional, boring, smooth, fictional, blurred, twisted, distorted, divined, body defects, damaged structure, signs, prints'
105
  else:
106
- _dont = f'{prompt2_en} where in {prompt_en}, unformed, unproportional, boring, smooth, fictional, blurred, twisted, distorted, divined, body defects, damaged structure, signs, prints'
107
  image = Piper(_do,_dont).images[0].save(name)
108
  return name
109
 
 
101
  else:
102
  _do = f'photographed { prompt_en } reasonable situation'
103
  if prompt2_en == "":
104
+ _dont = 'unformed, unproportional, boring, smooth, fictional, blurred, twisted, distorted, divined, human body defects, deformed fingers, ugly fingers, wrong fingers, damaged, signs, prints'
105
  else:
106
+ _dont = f'{prompt2_en} in photographed {prompt_en}, unformed, unproportional, boring, smooth, fictional, blurred, twisted, distorted, divined, human body defects, deformed fingers, ugly fingers, wrong fingers, damaged, signs, prints'
107
  image = Piper(_do,_dont).images[0].save(name)
108
  return name
109