attributes
Browse files- .gitattributes +1 -0
- app.py +2 -1
- 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/
|