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