teamtom commited on
Commit
50e8316
1 Parent(s): def6f18

initial commit/deploy

Browse files
Files changed (8) hide show
  1. .gitattributes +1 -0
  2. app.py +16 -0
  3. automotive.jpg +3 -0
  4. eagle.jpg +3 -0
  5. frog01.jpg +3 -0
  6. ladybug.jpg +3 -0
  7. requirements.txt +1 -0
  8. 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

  • SHA256: d24668141a57cc88c0611433e17d6bf06bfc9cdb3838a9f641957be0647638b6
  • Pointer size: 130 Bytes
  • Size of remote file: 98.1 kB
eagle.jpg ADDED

Git LFS Details

  • SHA256: 13f7f4dd3c88f26b6043d174128a26e2ca55a0fa5a206d96ca1be37b0a5621c9
  • Pointer size: 131 Bytes
  • Size of remote file: 132 kB
frog01.jpg ADDED

Git LFS Details

  • SHA256: a7ff8c3c85d459349cb9a287377e456dee6df26cf3dc61172f2a500cfd5eb85e
  • Pointer size: 130 Bytes
  • Size of remote file: 71.6 kB
ladybug.jpg ADDED

Git LFS Details

  • SHA256: 39015c86f261205ed0674693349a9bb4de3f8bdc635429677c445524a43f468e
  • Pointer size: 130 Bytes
  • Size of remote file: 12.4 kB
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio
revolver.jpg ADDED

Git LFS Details

  • SHA256: 99542149809405eb92a274631c972e4fadc96a318efc72864026285512613920
  • Pointer size: 130 Bytes
  • Size of remote file: 53.7 kB