Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,10 +53,11 @@ def infer(prompt, seed, randomize_seed):
|
|
| 53 |
|
| 54 |
|
| 55 |
examples = [
|
| 56 |
-
"
|
| 57 |
'Long-exposure night photography of a starry sky over a mountain range, with light trails.',
|
| 58 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
| 59 |
-
"A
|
|
|
|
| 60 |
]
|
| 61 |
|
| 62 |
css = """
|
|
@@ -115,7 +116,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 115 |
gr.Examples(
|
| 116 |
examples=examples,
|
| 117 |
inputs=[prompt],
|
| 118 |
-
cache_examples=
|
| 119 |
)
|
| 120 |
run_button.click(
|
| 121 |
fn=infer,
|
|
|
|
| 53 |
|
| 54 |
|
| 55 |
examples = [
|
| 56 |
+
"3d digital art of an adorable ghost, holding a heart shaped pumpkin, Halloween, super cute, spooky haunted house background",
|
| 57 |
'Long-exposure night photography of a starry sky over a mountain range, with light trails.',
|
| 58 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
| 59 |
+
"A gold astronaut meditating in a lush green forest by a lake",
|
| 60 |
+
"A group of friends sitting around a campfire."
|
| 61 |
]
|
| 62 |
|
| 63 |
css = """
|
|
|
|
| 116 |
gr.Examples(
|
| 117 |
examples=examples,
|
| 118 |
inputs=[prompt],
|
| 119 |
+
cache_examples=True
|
| 120 |
)
|
| 121 |
run_button.click(
|
| 122 |
fn=infer,
|