MYTE commited on
Commit
aeb26c7
1 Parent(s): 493d669

show only 5 top classes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def pst_recognizer(pst_image):
19
 
20
 
21
  image = gr.inputs.Image(shape=(192, 192))
22
- label = gr.outputs.Label()
23
 
24
  examples = [
25
  "architecture_photography.jpg",
 
19
 
20
 
21
  image = gr.inputs.Image(shape=(192, 192))
22
+ label = gr.outputs.Label(num_top_classes=5)
23
 
24
  examples = [
25
  "architecture_photography.jpg",