Spaces:
Sleeping
Sleeping
jeraldflowers
commited on
Commit
•
e8e08a1
1
Parent(s):
55cf91b
upload demo
Browse filesUse the Microsoft model.
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
title = "My first Demo with Hugging Face"
|
4 |
+
description = "This is a demo as a example"
|
5 |
+
|
6 |
+
gr.Interface.load(
|
7 |
+
"huggingface/microsoft/swin-tiny-patch4-window7-224",
|
8 |
+
inputs=gr.Image(label="Load an image here"),
|
9 |
+
title=title,
|
10 |
+
description=description
|
11 |
+
).launch()
|