Spaces:
Runtime error
Runtime error
initial commit/deploy
Browse files- .gitattributes +1 -0
- app.py +16 -0
- automotive.jpg +3 -0
- eagle.jpg +3 -0
- frog01.jpg +3 -0
- ladybug.jpg +3 -0
- requirements.txt +1 -0
- revolver.jpg +3 -0
.gitattributes
CHANGED
@@ -29,3 +29,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
29 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
30 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
31 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
29 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
30 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
31 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
app.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
examples = [
|
4 |
+
'ladybug.jpg',
|
5 |
+
'revolver.jpg',
|
6 |
+
'automotive.jpg',
|
7 |
+
'frog01.jpg',
|
8 |
+
'eagle.jpg'
|
9 |
+
]
|
10 |
+
|
11 |
+
# image = gr.inputs.Image(source='webcam', shape=(224,224))
|
12 |
+
|
13 |
+
gr.Interface.load(
|
14 |
+
"huggingface/google/vit-base-patch16-224",
|
15 |
+
# inputs=image,
|
16 |
+
examples=examples).launch()
|
automotive.jpg
ADDED
Git LFS Details
|
eagle.jpg
ADDED
Git LFS Details
|
frog01.jpg
ADDED
Git LFS Details
|
ladybug.jpg
ADDED
Git LFS Details
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio
|
revolver.jpg
ADDED
Git LFS Details
|