samjeffcoat commited on
Commit
f96c627
·
1 Parent(s): 0266199

changed output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ examples = ['siamese.jpg', 'dog.jpg']
17
  interpretation='default'
18
  enable_queue=True
19
  image = gr.inputs.Image(shape=(192, 192))
20
- label = gr.outputs.Label()
21
  out_pl = widgets.Output()
22
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
23
  intf.launch()
 
17
  interpretation='default'
18
  enable_queue=True
19
  image = gr.inputs.Image(shape=(192, 192))
20
+ label = gr.outputs.Label(num_top_classes=3)
21
  out_pl = widgets.Output()
22
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
23
  intf.launch()