Update app.py
Browse files
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 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
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=
|
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 |
|