jojortz commited on
Commit
c844dbd
1 Parent(s): f40b2ec

add example jpg and requirements.txt

Browse files
Files changed (5) hide show
  1. app.py +1 -1
  2. cat.jpg +0 -0
  3. dog.jpg +0 -0
  4. dunno.jpg +0 -0
  5. requirements.txt +1 -0
app.py CHANGED
@@ -21,5 +21,5 @@ label = gr.outputs.Label()
21
  examples = ["dog.jpg", "cat.jpg", "dunno.jpg"]
22
 
23
 
24
- iface = gr.Interface(fn=classify_image, inputs=image, outputs=label)
25
  iface.launch()
 
21
  examples = ["dog.jpg", "cat.jpg", "dunno.jpg"]
22
 
23
 
24
+ iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
25
  iface.launch()
cat.jpg ADDED
dog.jpg ADDED
dunno.jpg ADDED
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ fastai