Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -102,9 +102,9 @@ def infer(prompt,prompt2):
|
|
102 |
prompt_en = translate(prompt,"english")
|
103 |
prompt2_en = translate(prompt2,"english")
|
104 |
if prompt == None or prompt.strip() == "":
|
105 |
-
_do = 'warm dark muted vintage foreground colors, rough texture, dynamic poze, proportional, reasonable, realistic, natural, cold light vivid playful background colors'
|
106 |
else:
|
107 |
-
_do = f'photographed { prompt_en }, warm dark muted vintage foreground colors, rough texture, dynamic poze, proportional, reasonable, realistic, natural, cold light vivid playful background colors'
|
108 |
if prompt2 == None or prompt2.strip() == "":
|
109 |
_dont = 'unreasonable, unreal, ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
|
110 |
else:
|
|
|
102 |
prompt_en = translate(prompt,"english")
|
103 |
prompt2_en = translate(prompt2,"english")
|
104 |
if prompt == None or prompt.strip() == "":
|
105 |
+
_do = 'sharp warm dark muted vintage foreground colors, rough texture, dynamic poze, proportional, reasonable, realistic, natural, sharp cold light vivid playful background colors'
|
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 = 'unreasonable, unreal, ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
|
110 |
else:
|