alkzar90's picture
Rollback to cache_examples=False
d6f9b9a
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()