Spaces:
Runtime error
Runtime error
MYTE
commited on
Commit
•
aeb26c7
1
Parent(s):
493d669
show only 5 top classes
Browse files
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",
|