Spaces:
Runtime error
Runtime error
Add cache_examples=False
Browse filesTrying to fix an error when loading image examples using Gradio API mode.
https://discuss.huggingface.co/t/add-image-examples-using-gradio-api-mode/21175
app.py
CHANGED
|
@@ -8,7 +8,8 @@ iface = gr.Interface.load('alkzar90/croupier-creature-classifier',
|
|
| 8 |
src='models',
|
| 9 |
title='Bestiario',
|
| 10 |
description='Tu guía para identificar criaturas',
|
| 11 |
-
examples=[['crusader_peco_peco.png'], ['goblin_wow.png']]
|
|
|
|
| 12 |
|
| 13 |
|
| 14 |
if __name__ == "__main__":
|
|
|
|
| 8 |
src='models',
|
| 9 |
title='Bestiario',
|
| 10 |
description='Tu guía para identificar criaturas',
|
| 11 |
+
examples=[['crusader_peco_peco.png'], ['goblin_wow.png']],
|
| 12 |
+
cache_examples=False)
|
| 13 |
|
| 14 |
|
| 15 |
if __name__ == "__main__":
|