Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
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,
|
105 |
else:
|
106 |
-
_dont = f'{prompt2_en}
|
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 |
|