Yaron Koresh commited on
Commit
f460f8b
·
verified ·
1 Parent(s): 64c22db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -89,7 +89,7 @@ def Piper(_do,_dont):
89
  height=512,
90
  width=1024,
91
  negative_prompt=_dont,
92
- num_inference_steps=200,
93
  guidance_scale=10
94
  )
95
 
@@ -98,9 +98,9 @@ def infer(prompt,prompt2):
98
  prompt_en = translate(prompt,"english")
99
  prompt2_en = translate(prompt2,"english")
100
  if prompt == None or prompt.strip() == "":
101
- _do = 'soft vivid colors, rough texture, dynamic poze, proportional arrangement, reasonable combination, amazing, realistic, award winning photograph, soft lighting, deep field, highly detailed, bright background, 16k'
102
  else:
103
- _do = f'{ prompt_en }, soft vivid colors, rough texture, dynamic poze, proportional arrangement, reasonable combination, amazing, realistic, award winning photograph, soft lighting, deep field, highly detailed, bright background, 16k'
104
  if prompt2 == None or prompt2.strip() == "":
105
  _dont = 'ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
106
  else:
 
89
  height=512,
90
  width=1024,
91
  negative_prompt=_dont,
92
+ num_inference_steps=400,
93
  guidance_scale=10
94
  )
95
 
 
98
  prompt_en = translate(prompt,"english")
99
  prompt2_en = translate(prompt2,"english")
100
  if prompt == None or prompt.strip() == "":
101
+ _do = 'soft vivid colors, rough texture, dynamic poze, reasonable, realistic, photograph, soft lighting, deep field, highly detailed, bright background'
102
  else:
103
+ _do = f'{ prompt_en }, soft vivid colors, rough texture, dynamic poze, reasonable, realistic, photograph, soft lighting, deep field, highly detailed, bright background'
104
  if prompt2 == None or prompt2.strip() == "":
105
  _dont = 'ugly, deformed, disfigured, poor details, bad anatomy, logos, texts, labels'
106
  else: