arju10 commited on
Commit
f205854
1 Parent(s): 8fca414

model update

Browse files
Files changed (5) hide show
  1. app.ipynb +4 -0
  2. app.py +5 -2
  3. unknown-4.jpg +0 -0
  4. unknown-5.jpg +0 -0
  5. unknown-6.jpg +0 -0
app.ipynb CHANGED
@@ -285,6 +285,10 @@
285
  "examples = [\n",
286
  " 'unknown-1.jpg',\n",
287
  " 'unknown-2.jpg',\n",
 
 
 
 
288
  " ]\n",
289
  "\n",
290
  "iface = gr.Interface(fn=recognize_image, inputs=image, outputs=label, examples=examples)\n",
 
285
  "examples = [\n",
286
  " 'unknown-1.jpg',\n",
287
  " 'unknown-2.jpg',\n",
288
+ " 'unknown-3.jpg',\n",
289
+ " 'unknown-4.jpg',\n",
290
+ " 'unknown-5.jpg',\n",
291
+ " 'unknown-6.jpg'\n",
292
  " ]\n",
293
  "\n",
294
  "iface = gr.Interface(fn=recognize_image, inputs=image, outputs=label, examples=examples)\n",
app.py CHANGED
@@ -15,9 +15,12 @@ def recognize_image(image):
15
  image = gr.inputs.Image(shape=(192,192))
16
  label = gr.outputs.Label(num_top_classes=5)
17
  examples = [
18
- 'unknown-1.jpg',
19
  'unknown-2.jpg',
20
- 'unknown-3.jpg'
 
 
 
21
 
22
  ]
23
 
 
15
  image = gr.inputs.Image(shape=(192,192))
16
  label = gr.outputs.Label(num_top_classes=5)
17
  examples = [
18
+ 'unknown-1.jpg',
19
  'unknown-2.jpg',
20
+ 'unknown-3.jpg',
21
+ 'unknown-4.jpg',
22
+ 'unknown-5.jpg',
23
+ 'unknown-6.jpg'
24
 
25
  ]
26
 
unknown-4.jpg ADDED
unknown-5.jpg ADDED
unknown-6.jpg ADDED