Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -106,9 +106,9 @@ def infer(prompt,prompt2):
|
|
106 |
else:
|
107 |
_do = f'photographed { prompt_en }, sharp warm dark muted vintage foreground colors, rough texture, dynamic poze, proportional, reasonable, realistic, natural, sharp cold light vivid playful background colors'
|
108 |
if prompt2 == None or prompt2.strip() == "":
|
109 |
-
_dont = 'palms, unreasonable, unreal, ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
|
110 |
else:
|
111 |
-
_dont = f'{prompt2_en}, {prompt2_en} where in {prompt_en}, labels where in {prompt_en},
|
112 |
image = Piper(_do,_dont).images[0].save(name)
|
113 |
return name
|
114 |
|
|
|
106 |
else:
|
107 |
_do = f'photographed { prompt_en }, sharp warm dark muted vintage foreground colors, rough texture, dynamic poze, proportional, reasonable, realistic, natural, sharp cold light vivid playful background colors'
|
108 |
if prompt2 == None or prompt2.strip() == "":
|
109 |
+
_dont = 'uncovered palms, unreasonable, unreal, ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
|
110 |
else:
|
111 |
+
_dont = f'{prompt2_en}, {prompt2_en} where in {prompt_en}, labels where in {prompt_en}, uncovered palms of {prompt_en}, unreasonable, unreal, texts, logos, ugly, deformed, disfigured, poor details, bad anatomy'
|
112 |
image = Piper(_do,_dont).images[0].save(name)
|
113 |
return name
|
114 |
|