Gztavo commited on
Commit
4269ab4
1 Parent(s): 1163bbe

create file

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ gr.Interface.load(
3
+ 'huggingface/nlpconnect/vit-gpt2-image-captioning',
4
+ inputs = gr.Image(label="Carga una imagen"),
5
+ title = "Classificator",
6
+ description = "Obtener descripcion por imagen"
7
+ ).launch()