HelloSun commited on
Commit
6bf23d3
·
verified ·
1 Parent(s): 3303193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -27,9 +27,10 @@ def infer(prompt):
27
  return image
28
 
29
  examples = [
30
- "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
31
- "An astronaut riding a green horse",
32
- "A delicious ceviche cheesecake slice",
 
33
  ]
34
 
35
  css = """
@@ -54,8 +55,10 @@ with gr.Blocks(css=css) as demo:
54
  result = gr.Image(label="Result", show_label=False)
55
 
56
  gr.Examples(
57
- examples=examples,
58
- inputs=[prompt]
 
 
59
  )
60
 
61
  run_button.click(
 
27
  return image
28
 
29
  examples = [
30
+ "Sailor Chibi Moon, Katsura Masakazu style",
31
+ "1girl, silver hair, symbol-shaped pupils, yellow eyes, smiling, light particles, light rays, wallpaper, star guardian, serious face, red inner hair, power aura, grandmaster1, golden and white clothes",
32
+ "A cute kitten, Tinkle style.",
33
+ "(illustration, 8k CG, extremely detailed),(whimsical),catgirl,teenage girl,playing in the snow,winter wonderland,snow-covered trees,soft pastel colors,gentle lighting,sparkling snow,joyful,magical atmosphere,highly detailed,fluffy cat ears and tail,intricate winter clothing,shallow depth of field,watercolor techniques,close-up shot,slightly tilted angle,fairy tale architecture,nostalgic,playful,winter magic,(masterpiece:2),best quality,ultra highres,original,extremely detailed,perfect lighting,",
34
  ]
35
 
36
  css = """
 
55
  result = gr.Image(label="Result", show_label=False)
56
 
57
  gr.Examples(
58
+ examples = examples,
59
+ fn = infer,
60
+ inputs = [prompt],
61
+ outputs = [result]
62
  )
63
 
64
  run_button.click(