Christian Kauth commited on
Commit
86f6141
·
1 Parent(s): f7558e3

adding examples

Browse files
app.py CHANGED
@@ -25,6 +25,11 @@ model = keras.models.load_model('model')
25
  iface = gr.Interface(predict,\
26
  inputs = gr.Image(shape=(130, 120)),\
27
  outputs = [gr.outputs.Label(num_top_classes=5),\
28
- gr.Image(shape=(100, 100), image_mode='L')])
 
 
 
 
 
29
 
30
  iface.launch()
 
25
  iface = gr.Interface(predict,\
26
  inputs = gr.Image(shape=(130, 120)),\
27
  outputs = [gr.outputs.Label(num_top_classes=5),\
28
+ gr.Image(shape=(100, 100), image_mode='L')],\
29
+ examples = ["examples/DBUAC-BP-14005",\
30
+ "examples/DBUAC-GG-08001.jpg",\
31
+ "examples/DBUAC-GMA-10006.jpg",\
32
+ "examples/DBUAC-PM-09046.jpg",\
33
+ "examples/DBUAC-TT-15070.jpg"])
34
 
35
  iface.launch()
examples/DBUAC-BP-14005.jpg ADDED
examples/DBUAC-GG-08001.jpg ADDED
examples/DBUAC-GMA-10006.jpg ADDED
examples/DBUAC-PM-09046.jpg ADDED
examples/DBUAC-TT-15070.jpg ADDED