Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
e9adc70
1
Parent(s):
69db3a4
Update app.py
Browse files
app.py
CHANGED
|
@@ -331,12 +331,12 @@ with block:
|
|
| 331 |
randomize=True,
|
| 332 |
)
|
| 333 |
|
| 334 |
-
ex = gr.Examples(examples=examples, fn=infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=
|
| 335 |
ex.dataset.headers = [""]
|
| 336 |
|
| 337 |
|
| 338 |
-
text.submit(infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button],
|
| 339 |
-
btn.click(infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button],
|
| 340 |
|
| 341 |
advanced_button.click(
|
| 342 |
None,
|
|
|
|
| 331 |
randomize=True,
|
| 332 |
)
|
| 333 |
|
| 334 |
+
ex = gr.Examples(examples=examples, fn=infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=True)
|
| 335 |
ex.dataset.headers = [""]
|
| 336 |
|
| 337 |
|
| 338 |
+
text.submit(infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], postprocess=False)
|
| 339 |
+
btn.click(infer, inputs=text, outputs=[gallery, community_icon, loading_icon, share_button], postprocess=False)
|
| 340 |
|
| 341 |
advanced_button.click(
|
| 342 |
None,
|