Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,11 +78,6 @@ def generate(
|
|
78 |
return image_paths, seed
|
79 |
|
80 |
|
81 |
-
examples = [
|
82 |
-
"a ROBOT riding a BLUE horse on Mars, photorealistic",
|
83 |
-
"a cartoon of a IRONMAN fighting with HULK, wall painting",
|
84 |
-
]
|
85 |
-
|
86 |
css = '''
|
87 |
.gradio-container{max-width: 700px !important}
|
88 |
h1{text-align:center}
|
@@ -159,13 +154,6 @@ with gr.Blocks(css=css) as demo:
|
|
159 |
value=8,
|
160 |
)
|
161 |
|
162 |
-
gr.Examples(
|
163 |
-
examples=examples,
|
164 |
-
inputs=prompt,
|
165 |
-
outputs=[result, seed],
|
166 |
-
fn=generate,
|
167 |
-
cache_examples=CACHE_EXAMPLES,
|
168 |
-
)
|
169 |
|
170 |
use_negative_prompt.change(
|
171 |
fn=lambda x: gr.update(visible=x),
|
|
|
78 |
return image_paths, seed
|
79 |
|
80 |
|
|
|
|
|
|
|
|
|
|
|
81 |
css = '''
|
82 |
.gradio-container{max-width: 700px !important}
|
83 |
h1{text-align:center}
|
|
|
154 |
value=8,
|
155 |
)
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
use_negative_prompt.change(
|
159 |
fn=lambda x: gr.update(visible=x),
|