Spaces:
Runtime error
Runtime error
Commit
·
9dbccf2
1
Parent(s):
34a491d
Update app.py
Browse files
app.py
CHANGED
|
@@ -265,7 +265,7 @@ with block:
|
|
| 265 |
randomize=True,
|
| 266 |
)
|
| 267 |
|
| 268 |
-
ex = gr.Examples(examples=examples, fn=infer, inputs=text, outputs=[gallery
|
| 269 |
ex.dataset.headers = [""]
|
| 270 |
|
| 271 |
text.submit(infer, inputs=text, outputs=[gallery], postprocess=False)
|
|
|
|
| 265 |
randomize=True,
|
| 266 |
)
|
| 267 |
|
| 268 |
+
ex = gr.Examples(examples=examples, fn=infer, inputs=text, outputs=[gallery], cache_examples=True, postprocess=False)
|
| 269 |
ex.dataset.headers = [""]
|
| 270 |
|
| 271 |
text.submit(infer, inputs=text, outputs=[gallery], postprocess=False)
|