Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesremoved examples
app.py
CHANGED
@@ -74,12 +74,6 @@ def infer(name, pet, background, style, seed=42, randomize_seed=False, width=102
|
|
74 |
):
|
75 |
yield img, seed
|
76 |
|
77 |
-
examples = [
|
78 |
-
"a tiny astronaut hatching from an egg on the moon",
|
79 |
-
"a cat holding a sign that says hello world",
|
80 |
-
"an anime illustration of a wiener schnitzel",
|
81 |
-
]
|
82 |
-
|
83 |
css="""
|
84 |
#col-container {
|
85 |
margin: 0 auto;
|
@@ -178,7 +172,6 @@ with gr.Blocks(css=css) as demo:
|
|
178 |
)
|
179 |
|
180 |
gr.Examples(
|
181 |
-
examples = examples,
|
182 |
fn = infer,
|
183 |
inputs = [prompt],
|
184 |
outputs = [result, seed],
|
|
|
74 |
):
|
75 |
yield img, seed
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
css="""
|
78 |
#col-container {
|
79 |
margin: 0 auto;
|
|
|
172 |
)
|
173 |
|
174 |
gr.Examples(
|
|
|
175 |
fn = infer,
|
176 |
inputs = [prompt],
|
177 |
outputs = [result, seed],
|