Spaces:
Sleeping
Sleeping
Commit
·
4ac6ddc
1
Parent(s):
661a70a
Create app1.py
Browse files
app1.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
titulo = "Demo Innovacion ams"
|
4 |
+
descripcion = "Este es un demo con Gradio, tambien se puede ejecutar con Colab."
|
5 |
+
|
6 |
+
gr.Interface.load(
|
7 |
+
"huggingface/microsoft/swin-tiny-patch4-window7-224",
|
8 |
+
inputs=gr.Image(label="Pon una imagen aca"),
|
9 |
+
title = titulo,
|
10 |
+
description = descripcion
|
11 |
+
).launch()
|