SimianLuo commited on
Commit
2f5f656
1 Parent(s): 983062a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -101,8 +101,10 @@ def generate(
101
  ).images
102
 
103
  examples = [
 
 
104
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
105
- "An astronaut riding a green horse",
106
  ]
107
 
108
  with gr.Blocks(css="style.css") as demo:
@@ -152,15 +154,15 @@ with gr.Blocks(css="style.css") as demo:
152
  with gr.Row():
153
  guidance_scale = gr.Slider(
154
  label="Guidance scale for base",
155
- minimum=1,
156
- maximum=20,
157
  step=0.1,
158
  value=8.0,
159
  )
160
  num_inference_steps = gr.Slider(
161
  label="Number of inference steps for base",
162
  minimum=1,
163
- maximum=5,
164
  step=1,
165
  value=4,
166
  )
 
101
  ).images
102
 
103
  examples = [
104
+ "portrait photo of a girl, photograph, highly detailed face, depth of field, moody light, golden hour, style by Dan Winters, Russell James, Steve McCurry, centered, extremely detailed, Nikon D850, award winning photography",
105
+ "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k",
106
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
107
+ "A photo of beautiful mountain with realistic sunset, highly detailed, masterpiece",
108
  ]
109
 
110
  with gr.Blocks(css="style.css") as demo:
 
154
  with gr.Row():
155
  guidance_scale = gr.Slider(
156
  label="Guidance scale for base",
157
+ minimum=2,
158
+ maximum=14,
159
  step=0.1,
160
  value=8.0,
161
  )
162
  num_inference_steps = gr.Slider(
163
  label="Number of inference steps for base",
164
  minimum=1,
165
+ maximum=8,
166
  step=1,
167
  value=4,
168
  )