Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -101,9 +101,9 @@ def infer(prompt,prompt2):
|
|
101 |
prompt_en = translate(prompt,"english")
|
102 |
prompt2_en = translate(prompt2,"english")
|
103 |
if prompt == None or prompt.strip() == "":
|
104 |
-
_do = '
|
105 |
else:
|
106 |
-
_do = f'{ prompt_en },
|
107 |
if prompt2 == None or prompt2.strip() == "":
|
108 |
_dont = 'ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
|
109 |
else:
|
|
|
101 |
prompt_en = translate(prompt,"english")
|
102 |
prompt2_en = translate(prompt2,"english")
|
103 |
if prompt == None or prompt.strip() == "":
|
104 |
+
_do = 'rough texture, dynamic poze, reasonable, realistic, photograph, soft lighting, highly detailed'
|
105 |
else:
|
106 |
+
_do = f'{ prompt_en }, rough texture, dynamic poze, reasonable, realistic, photograph, soft lighting, highly detailed'
|
107 |
if prompt2 == None or prompt2.strip() == "":
|
108 |
_dont = 'ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
|
109 |
else:
|