change name to category

This commit is contained in:
AK391 2021-03-23 14:16:14 -04:00
parent 388906f7c9
commit d622841543
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def classify(img, user_text):
inputs = [
gr.inputs.Image(type='pil', label="Original Image"),
gr.inputs.Textbox(lines=1)
gr.inputs.Textbox(lines=1, label="optional categories")
]
outputs = gr.outputs.Label(type="confidences",num_top_classes=5)