AItool commited on
Commit
043b5a0
·
verified ·
1 Parent(s): bf92d36

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  # AUTOGENERATED! DO NOT EDIT! File to edit: . (unless otherwise specified).
2
 
3
- __all__ = ['learn', 'classify_image', 'categories', 'classifier', 'wild_mushroom', 'edibble_mushroom','image', 'label', 'examples', 'intf']
4
 
5
  # Cell
6
  from fastai.vision.all import *
@@ -20,7 +20,7 @@ def classify_image(img):
20
  # Cell
21
  image = gr.inputs.Image(shape=(192, 192))
22
  label = gr.outputs.Label()
23
- examples = ['mushroom.png','mushroom1.jpg','mushroom2.jpg']
24
 
25
  # Cell
26
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
1
  # AUTOGENERATED! DO NOT EDIT! File to edit: . (unless otherwise specified).
2
 
3
+ __all__ = ['learn', 'classify_image', 'categories', 'classifier', 'dog','image', 'label', 'examples', 'intf']
4
 
5
  # Cell
6
  from fastai.vision.all import *
 
20
  # Cell
21
  image = gr.inputs.Image(shape=(192, 192))
22
  label = gr.outputs.Label()
23
+ examples = ['dog.png','dog1.jpg','dog2.jpg']
24
 
25
  # Cell
26
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)