TheUpperCaseGuy commited on
Commit
8500a61
·
1 Parent(s): a8659de

Upload 4 files

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. app.py +2 -2
  3. example1.jpg +3 -0
  4. example2.jpg +0 -0
  5. example3.jpg +0 -0
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  Black[[:space:]]people.jpg filter=lfs diff=lfs merge=lfs -text
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  Black[[:space:]]people.jpg filter=lfs diff=lfs merge=lfs -text
37
+ example1.jpg filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -14,10 +14,10 @@ def classify_image(image):
14
 
15
  image = gr.inputs.Image(shape=(192,192))
16
  label = gr.outputs.Label()
17
- examples=['Black people.jpg','white people.jpg']
18
 
19
  intf =gr.Interface(fn=classify_image,inputs=image,outputs=label,examples=examples)
20
- intf.launch(inline=False)
21
 
22
 
23
 
 
14
 
15
  image = gr.inputs.Image(shape=(192,192))
16
  label = gr.outputs.Label()
17
+ examples=['Example1.jpg','example2.jpg','example3.jpg']
18
 
19
  intf =gr.Interface(fn=classify_image,inputs=image,outputs=label,examples=examples)
20
+ intf.launch(inline=False,share=True)
21
 
22
 
23
 
example1.jpg ADDED

Git LFS Details

  • SHA256: 6c685c3bdade36af9e751c5c965fc83e63e9efcb85878c38bbbfb0d526e39b84
  • Pointer size: 132 Bytes
  • Size of remote file: 2.53 MB
example2.jpg ADDED
example3.jpg ADDED