sfilipp1 commited on
Commit
cad3d5f
1 Parent(s): 78767a3

attributes

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. app.py +2 -1
  3. model.pkl:Zone.Identifier +3 -0
.gitattributes CHANGED
@@ -1,3 +1,4 @@
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
1
+ *.jpg filter=lfs diff=lfs merge=lfs -text
2
  *.7z filter=lfs diff=lfs merge=lfs -text
3
  *.arrow filter=lfs diff=lfs merge=lfs -text
4
  *.bin filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -13,6 +13,7 @@ def classify_image(img):
13
 
14
  image = gr.inputs.Image(shape=(192,192))
15
  label = gr.outputs.Label()
 
16
 
17
- intf = gr.Interface(fn=classify_image,inputs=image,outputs=label)
18
  intf.launch(inline=False)
13
 
14
  image = gr.inputs.Image(shape=(192,192))
15
  label = gr.outputs.Label()
16
+ examples = ['dog.jpg', 'cat1.jpg']
17
 
18
+ intf = gr.Interface(fn=classify_image,inputs=image,outputs=label, examples=examples)
19
  intf.launch(inline=False)
model.pkl:Zone.Identifier ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ [ZoneTransfer]
2
+ ZoneId=3
3
+ HostUrl=https://www.kaggle.com/