File size: 679 Bytes
b8245c4
9595a45
 
26c61ee
 
3483ed3
9595a45
 
 
6a06e20
3e1224e
9595a45
97e4e05
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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")

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']])


if __name__ == "__main__":
    iface.launch()