Uploading demo
Browse files- you can use this Microsoft to Image Recognition
app.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Import Library
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
#
|
5 |
+
title = "My first Hugging Face Demo"
|
6 |
+
#
|
7 |
+
description = "This demo has been performed in order to achieved basic knowledge."
|
8 |
+
|
9 |
+
#
|
10 |
+
gr.Interface.load(
|
11 |
+
"huggingface/microsoft/swin-tiny-patch4-window7-224",
|
12 |
+
inputs=gr.Image(label="Upload an image right here: "),
|
13 |
+
title = title,
|
14 |
+
description = description
|
15 |
+
).launch()
|