jeraldflowers commited on
Commit
e8e08a1
1 Parent(s): 55cf91b

upload demo

Browse files

Use the Microsoft model.

Files changed (1) hide show
  1. app.py +11 -0
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()