Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
74fb0c6
1
Parent(s):
805f947
Update app.py
Browse files
app.py
CHANGED
@@ -176,7 +176,11 @@ with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
|
|
176 |
value=4,
|
177 |
)
|
178 |
|
179 |
-
gr.Examples(examples=examples,
|
|
|
|
|
|
|
|
|
180 |
|
181 |
gr.on(
|
182 |
triggers=[run_button.click, prompt.submit],
|
|
|
176 |
value=4,
|
177 |
)
|
178 |
|
179 |
+
gr.Examples(examples=examples,
|
180 |
+
inputs=[prompt],
|
181 |
+
outputs=[result, seed],
|
182 |
+
fn=infer,
|
183 |
+
cache_examples=True)
|
184 |
|
185 |
gr.on(
|
186 |
triggers=[run_button.click, prompt.submit],
|