File size: 234 Bytes
4269ab4
 
 
 
 
 
 
1
2
3
4
5
6
7
import gradio as gr
gr.Interface.load(
    'huggingface/nlpconnect/vit-gpt2-image-captioning',
    inputs = gr.Image(label="Carga una imagen"),
    title = "Classificator",
    description = "Obtener descripcion por imagen"
).launch()