HelloSun commited on
Commit
ed6d1d2
1 Parent(s): 8c3dd3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -63,11 +63,13 @@ def infer(prompt,negative_prompt):
63
 
64
 
65
  examples = [
66
- "A cute kitten, Japanese cartoon style.",
67
- "A sweet family, dad stands next to mom, mom holds baby girl.",
 
68
  "(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,",
69
  ]
70
 
 
71
  css="""
72
  #col-container {
73
  margin: 0 auto;
@@ -100,7 +102,9 @@ with gr.Blocks(css=css) as demo:
100
 
101
  gr.Examples(
102
  examples = examples,
103
- inputs = [prompt]
 
 
104
  )
105
 
106
  run_button.click(
 
63
 
64
 
65
  examples = [
66
+ "Sailor Chibi Moon, Katsura Masakazu style",
67
+ "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",
68
+ "A cute kitten, Tinkle style.",
69
  "(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,",
70
  ]
71
 
72
+
73
  css="""
74
  #col-container {
75
  margin: 0 auto;
 
102
 
103
  gr.Examples(
104
  examples = examples,
105
+ fn = infer,
106
+ inputs = [prompt],
107
+ outputs = [result]
108
  )
109
 
110
  run_button.click(