Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
titulo = "Un demo"
|
4 |
+
desc = "Esto es un demo"
|
5 |
+
|
6 |
+
gr.Interface.load(
|
7 |
+
"huggingface/microsoft/swin-tiny-patch4-window7-224",
|
8 |
+
inputs = gr.Image(label = "Imagen aquí"),
|
9 |
+
title = titulo,
|
10 |
+
description = desc
|
11 |
+
).launch(share = True)
|