From d62284154372b5bb81b4d3dce2f1c6915ae8e0e8 Mon Sep 17 00:00:00 2001 From: AK391 Date: Tue, 23 Mar 2021 14:16:14 -0400 Subject: [PATCH] change name to category --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index fce2835..166a310 100644 --- a/demo.py +++ b/demo.py @@ -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)