Yaron Koresh commited on
Commit
75cd28c
·
verified ·
1 Parent(s): 3ea7792

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, sharp cold light vivid pastel 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, sharp cold light vivid pastel 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:
 
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: