Yaron Koresh commited on
Commit
a20cd98
·
verified ·
1 Parent(s): 3e8037b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = 'soft colors, rough texture, dynamic poze, reasonable, realistic, photograph, soft lighting, highly detailed'
105
  else:
106
- _do = f'{ prompt_en }, soft colors, 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:
 
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: