Commit
·
054afae
1
Parent(s):
88fb256
Update app.py
Browse files
app.py
CHANGED
@@ -203,7 +203,13 @@ with gr.Blocks(theme = theme, css = css) as demo:
|
|
203 |
).style(grid=[2], height="auto")
|
204 |
|
205 |
btn.click(infer, inputs=[text, api_key_input], outputs=[gallery])
|
206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
|
208 |
|
209 |
demo.launch()
|
|
|
203 |
).style(grid=[2], height="auto")
|
204 |
|
205 |
btn.click(infer, inputs=[text, api_key_input], outputs=[gallery])
|
206 |
+
examples = [
|
207 |
+
["Vintage hot rod with custom flame paint job"],
|
208 |
+
["Ancient, mysterious temple in a mountain range, surrounded by misty clouds and tall peaks"],
|
209 |
+
["Glimpses of a herd of wild elephants crossing a savanna"],
|
210 |
+
["Beautiful waterfall in a lush jungle, with sunlight shining through the trees,"]
|
211 |
+
]
|
212 |
+
ex = gr.Examples(examples=examples,inputs=[text], cache_examples=False)
|
213 |
|
214 |
|
215 |
demo.launch()
|