brandonchiazzamodali commited on
Commit
89e4c3b
·
1 Parent(s): 3ec1d97

Add application files

Browse files
app.py CHANGED
@@ -45,7 +45,7 @@ def classify_image(change):
45
 
46
 
47
  # %% model.ipynb 50
48
- image = gr.inputs.Image(shape=(512,512)) #resize uploaded image -- good to align with your original resizing
49
  label = gr.outputs.Label(num_top_classes=3)
50
  examples = ['images/car.jpg']
51
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
45
 
46
 
47
  # %% model.ipynb 50
48
+ image = gr.inputs.Image(shape=(224,512)) #resize uploaded image -- good to align with your original resizing
49
  label = gr.outputs.Label(num_top_classes=3)
50
  examples = ['images/car.jpg']
51
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
cars&trucks/{car/0889bdcb-0f0f-4ab3-81e2-9246afc5b474.jpeg → cars&trucks} RENAMED
File without changes
export.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a716edc28ed611639c876f2207269d1c1411dce2ea9fc99e276e17f89b155f6
3
  size 46974159
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31b439eef62ded3013de09d59b8951a4762a5c1dd82ce2ca1f304db8ca85cc1e
3
  size 46974159
model.ipynb CHANGED
The diff for this file is too large to render. See raw diff