Spaces:
Runtime error
Runtime error
Commit
Β·
85b8db7
1
Parent(s):
714a252
Do not cache examples
Browse files
app.py
CHANGED
@@ -219,7 +219,7 @@ with block as demo:
|
|
219 |
grid=[2], height="auto"
|
220 |
)
|
221 |
|
222 |
-
ex = gr.Examples(examples=examples, fn=infer, inputs=[text], outputs=gallery, cache_examples=
|
223 |
ex.dataset.headers = [""]
|
224 |
|
225 |
text.submit(infer, inputs=[text], outputs=gallery)
|
|
|
219 |
grid=[2], height="auto"
|
220 |
)
|
221 |
|
222 |
+
ex = gr.Examples(examples=examples, fn=infer, inputs=[text], outputs=gallery, cache_examples=False)
|
223 |
ex.dataset.headers = [""]
|
224 |
|
225 |
text.submit(infer, inputs=[text], outputs=gallery)
|