recoilme commited on
Commit
96e8dac
·
verified ·
1 Parent(s): cc1e01f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -149,11 +149,11 @@ def infer(
149
 
150
 
151
  examples = [
 
152
  "young man with short green hair and gray eyes stands confidently in futuristic black armor, holding a purple katana and gazing directly at the viewer",
153
- "A young woman with striking blue eyes and pointed ears, adorned with a floral kimono and a tattoo, stands against a vibrant yellow background. Her hair is styled in a braid, and she wears a pair of ears",
154
  "A volcano explodes, creating a skull face shadow in embers with lightning illuminating the clouds.",
155
  "a young boy stands in a fighting stance, his body poised for action. He is dressed in traditional samurai attire",
156
- "A frozen river, surrounded by snow-covered trees, reflects the clear blue sky, with a warm glow from the setting sun.",
157
  "un homme dans l'armure impériale du futur",
158
  "Эльфиечка дня желает всем доброго утра и хорошего настроения!",
159
  ]
@@ -187,7 +187,7 @@ with gr.Blocks(css=css) as demo:
187
  label="Negative prompt",
188
  max_lines=1,
189
  placeholder="Enter a negative prompt",
190
- value ="bad quality, low quality, lowres"
191
  )
192
 
193
  seed = gr.Slider(
@@ -223,7 +223,7 @@ with gr.Blocks(css=css) as demo:
223
  minimum=0.0,
224
  maximum=10.0,
225
  step=0.5,
226
- value=5.0,
227
  )
228
 
229
  num_inference_steps = gr.Slider(
@@ -231,7 +231,7 @@ with gr.Blocks(css=css) as demo:
231
  minimum=1,
232
  maximum=50,
233
  step=1,
234
- value=50,
235
  )
236
 
237
  gr.Examples(examples=examples, inputs=[prompt])
 
149
 
150
 
151
  examples = [
152
+ "A frozen river, surrounded by snow-covered trees, reflects the clear blue sky, with a warm glow from the setting sun.",
153
  "young man with short green hair and gray eyes stands confidently in futuristic black armor, holding a purple katana and gazing directly at the viewer",
154
+ "A young woman with striking blue eyes and pointed ears, adorned with a floral kimono and a tattoo. Her hair is styled in a braid, and she wears a pair of ears",
155
  "A volcano explodes, creating a skull face shadow in embers with lightning illuminating the clouds.",
156
  "a young boy stands in a fighting stance, his body poised for action. He is dressed in traditional samurai attire",
 
157
  "un homme dans l'armure impériale du futur",
158
  "Эльфиечка дня желает всем доброго утра и хорошего настроения!",
159
  ]
 
187
  label="Negative prompt",
188
  max_lines=1,
189
  placeholder="Enter a negative prompt",
190
+ value ="lowres"
191
  )
192
 
193
  seed = gr.Slider(
 
223
  minimum=0.0,
224
  maximum=10.0,
225
  step=0.5,
226
+ value=4.0,
227
  )
228
 
229
  num_inference_steps = gr.Slider(
 
231
  minimum=1,
232
  maximum=50,
233
  step=1,
234
+ value=40,
235
  )
236
 
237
  gr.Examples(examples=examples, inputs=[prompt])