Yaron Koresh commited on
Commit
e531993
·
verified ·
1 Parent(s): 5036eb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -79,12 +79,12 @@ def Piper(_do):
79
  width=768,
80
  #negative_prompt='ugly, deformed, disfigured, poor details, bad anatomy, labels, texts, logos',
81
  num_inference_steps=40,
82
- guidance_scale=8.5
83
  )
84
 
85
  def infer(prompt):
86
  name = generate_random_string(12)+".png"
87
- _do = f'A minimal accurate { translate(prompt,"english") }, cold colors palette, muted colors, dynamic poze, realistic, realistic details, award winning photograph, soft natural lighting, deep field, natural, high definition, highly detailed, 8k'.lower()
88
  image = Piper(_do).images[0].save(name)
89
  return name
90
 
 
79
  width=768,
80
  #negative_prompt='ugly, deformed, disfigured, poor details, bad anatomy, labels, texts, logos',
81
  num_inference_steps=40,
82
+ guidance_scale=10
83
  )
84
 
85
  def infer(prompt):
86
  name = generate_random_string(12)+".png"
87
+ _do = f'full "{ translate(prompt,"english").upper() }" compliance, hot colors palette, muted colors, dynamic poze, realistic, realistic details, award winning photograph, soft natural lighting, deep field, high definition, highly detailed, 8k'.lower()
88
  image = Piper(_do).images[0].save(name)
89
  return name
90