patel18 commited on
Commit
33692ee
·
1 Parent(s): bfa61c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -50,7 +50,12 @@ def classify_image_with_inception_net(im):
50
 
51
  imagein = gr.inputs.Image()
52
  label = gr.outputs.Label(num_top_classes=3)
53
-
 
 
 
 
 
54
 
55
 
56
  # In[6]:
@@ -60,7 +65,7 @@ gr.Interface(
60
  fn = classify_image_with_mobile_net,
61
  imagein,
62
  label,
63
- title="MobileNet").launch()
64
 
65
 
66
 
 
50
 
51
  imagein = gr.inputs.Image()
52
  label = gr.outputs.Label(num_top_classes=3)
53
+ sample_images = [
54
+ ["monkey.jpg"],
55
+ ["sailboat.jpg"],
56
+ ["bicycle.jpg"],
57
+ ["download.jpg"],
58
+ ]
59
 
60
 
61
  # In[6]:
 
65
  fn = classify_image_with_mobile_net,
66
  imagein,
67
  label,
68
+ title="MobileNet",examples=sample_images).launch()
69
 
70
 
71