Yaron Koresh commited on
Commit
5ee59c2
·
verified ·
1 Parent(s): 23e7c0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -93,7 +93,7 @@ def Piper(_do,_dont):
93
  width=576,
94
  negative_prompt=_dont,
95
  num_inference_steps=200,
96
- guidance_scale=6
97
  )
98
 
99
  def infer(prompt,prompt2):
@@ -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 = 'sharp warm dark vivid vintage foreground, rough texture, dynamic poze, proportional, reasonable, realistic, blurred cold light muted pastel background'
105
  else:
106
- _do = f'photographed { prompt_en }, sharp warm dark vivid vintage colors, rough texture, dynamic poze, proportional, reasonable, realistic, blurred cold light muted pastel background'
107
  if prompt2 == None or prompt2.strip() == "":
108
  _dont = 'unreasonable, unreal, ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
109
  else:
 
93
  width=576,
94
  negative_prompt=_dont,
95
  num_inference_steps=200,
96
+ guidance_scale=4
97
  )
98
 
99
  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 = 'sharp warm dark muted vintage foreground colors, rough texture, dynamic poze, proportional, reasonable, realistic, natural, sharp cold light vivid pastel background colors'
105
  else:
106
+ _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'
107
  if prompt2 == None or prompt2.strip() == "":
108
  _dont = 'unreasonable, unreal, ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
109
  else: