dont show top class
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ with gr.Blocks() as demo:
|
|
160 |
inputs=[gr.Image(label="Source", sources=['upload', 'webcam'], type='pil'), gr.Slider(minimum=0.00, maximum=1.00, step=0.01, value=0.20, label="Threshold")],
|
161 |
outputs=[
|
162 |
gr.Textbox(label="Tag String"),
|
163 |
-
gr.Label(label="Tag Predictions", num_top_classes=200),
|
164 |
],
|
165 |
allow_flagging="never",
|
166 |
)
|
|
|
160 |
inputs=[gr.Image(label="Source", sources=['upload', 'webcam'], type='pil'), gr.Slider(minimum=0.00, maximum=1.00, step=0.01, value=0.20, label="Threshold")],
|
161 |
outputs=[
|
162 |
gr.Textbox(label="Tag String"),
|
163 |
+
gr.Label(label="Tag Predictions", num_top_classes=200, show_label=False),
|
164 |
],
|
165 |
allow_flagging="never",
|
166 |
)
|