Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -87,9 +87,9 @@ def infer(prompt,prompt2):
|
|
87 |
prompt_en = translate(prompt,"english")
|
88 |
prompt2_en = translate(prompt2,"english")
|
89 |
if prompt == None or prompt.strip() == "":
|
90 |
-
_do = 'soft vivid colors, rough texture, dynamic poze, proportional arrangement, reasonable combination, realistic, award winning photograph, soft lighting, deep field, highly detailed, blurred bright background'
|
91 |
else:
|
92 |
-
_do = f'{ prompt_en }, soft vivid colors, rough texture, dynamic poze, proportional arrangement, reasonable combination, realistic, award winning photograph, soft lighting, deep field, highly detailed, blurred bright background'
|
93 |
if prompt2 == None or prompt2.strip() == "":
|
94 |
_dont = 'ugly, deformed, inflated, disfigured, poor details, bad anatomy, logos, texts, labels'
|
95 |
else:
|
|
|
87 |
prompt_en = translate(prompt,"english")
|
88 |
prompt2_en = translate(prompt2,"english")
|
89 |
if prompt == None or prompt.strip() == "":
|
90 |
+
_do = 'soft vivid colors, rough texture, dynamic poze, proportional arrangement, reasonable combination, amazing, realistic, award winning photograph, soft lighting, deep field, highly detailed, blurred bright background'
|
91 |
else:
|
92 |
+
_do = f'{ prompt_en }, soft vivid colors, rough texture, dynamic poze, proportional arrangement, reasonable combination, amazing, realistic, award winning photograph, soft lighting, deep field, highly detailed, blurred bright background'
|
93 |
if prompt2 == None or prompt2.strip() == "":
|
94 |
_dont = 'ugly, deformed, inflated, disfigured, poor details, bad anatomy, logos, texts, labels'
|
95 |
else:
|