Spaces:
Runtime error
Runtime error
| import os | |
| import gradio as gr | |
| os.system("wget -O crusader_peco_peco.png https://huggingface.co/alkzar90/croupier-creature-classifier/resolve/main/examples/crusader_peco_peco.png") | |
| os.system("wget -O goblin_wow.png https://huggingface.co/alkzar90/croupier-creature-classifier/resolve/main/examples/goblin_wow.png") | |
| os.system("wget -O dobby_harry_potter.jpg https://huggingface.co/alkzar90/croupier-creature-classifier/resolve/main/examples/dobby_harry_potter.jpg") | |
| os.system("wget -O resident_evil_nemesis.jpeg https://huggingface.co/alkzar90/croupier-creature-classifier/resolve/main/examples/resident_evil_nemesis.jpeg") | |
| iface = gr.Interface.load('alkzar90/croupier-creature-classifier', | |
| src='models', | |
| title='Bestiario', | |
| description='Tu guía para identificar criaturas', | |
| examples=[['crusader_peco_peco.png'], ['goblin_wow.png'], ['dobby_harry_potter.jpg'], ['resident_evil_nemesis.jpeg']], | |
| cache_examples=False) | |
| if __name__ == "__main__": | |
| iface.launch() | |