Prgckwb commited on
Commit
9aa0782
1 Parent(s): 0d05f6d

:tada: add some example prompts

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -92,13 +92,14 @@ if __name__ == "__main__":
92
  gr.Image(label="Image", type="pil"),
93
  ]
94
 
95
- gr.Examples(
96
- examples=[
97
  ["stabilityai/stable-diffusion-3-medium-diffusers", 'A cat holding a sign that says Hello world', ""],
98
  ["stabilityai/stable-diffusion-3-medium-diffusers", 'Beautiful pixel art of a Wizard with hovering text "Achivement unlocked: Diffusion models can spell now"'],
99
  ["stabilityai/stable-diffusion-3-medium-diffusers", 'A corgi wearing sunglasses says "U-Net is OVER!!"'],
100
- ],
101
- inputs=inputs
 
 
102
  )
103
 
104
  btn = gr.Button("Generate")
 
92
  gr.Image(label="Image", type="pil"),
93
  ]
94
 
95
+ examples = [
 
96
  ["stabilityai/stable-diffusion-3-medium-diffusers", 'A cat holding a sign that says Hello world', ""],
97
  ["stabilityai/stable-diffusion-3-medium-diffusers", 'Beautiful pixel art of a Wizard with hovering text "Achivement unlocked: Diffusion models can spell now"'],
98
  ["stabilityai/stable-diffusion-3-medium-diffusers", 'A corgi wearing sunglasses says "U-Net is OVER!!"'],
99
+ ]
100
+ gr.Examples(
101
+ examples=examples,
102
+ inputs=inputs * len(examples),
103
  )
104
 
105
  btn = gr.Button("Generate")