Spaces:
Runtime error
Runtime error
create file
Browse files
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()
|