gaur3009 commited on
Commit
348839f
1 Parent(s): fec380f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -24,10 +24,10 @@ DEFAULT_PREFIX = "a single"
24
  DEFAULT_SUFFIX = "hanging on the grey wall"
25
  CATEGORIES = ["T-shirt", "Sweatshirt", "Shirt", "Hoodie"]
26
  EXAMPLES = [
27
- ("T-shirt", "floral pattern"),
28
- ("Sweatshirt", "abstract design"),
29
- ("Shirt", "geometric shapes"),
30
- ("Hoodie", "urban graffiti"),
31
  ]
32
 
33
  def infer(category, design, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
@@ -135,7 +135,7 @@ with gr.Blocks(css=css) as demo:
135
  )
136
 
137
  gr.Examples(
138
- examples=[(category, design) for category, design in EXAMPLES],
139
  inputs=[category, design]
140
  )
141
 
 
24
  DEFAULT_SUFFIX = "hanging on the grey wall"
25
  CATEGORIES = ["T-shirt", "Sweatshirt", "Shirt", "Hoodie"]
26
  EXAMPLES = [
27
+ ["T-shirt", "floral pattern"],
28
+ ["Sweatshirt", "abstract design"],
29
+ ["Shirt", "geometric shapes"],
30
+ ["Hoodie", "urban graffiti"],
31
  ]
32
 
33
  def infer(category, design, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
 
135
  )
136
 
137
  gr.Examples(
138
+ examples=EXAMPLES,
139
  inputs=[category, design]
140
  )
141