kaushikbar
commited on
Commit
·
1edd175
1
Parent(s):
ccafefc
added multi-label as a radio button user input
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ iface = gr.Interface(
|
|
183 |
gr.inputs.Textbox(lines=2,
|
184 |
label="Please enter the candidate labels (separated by 2 consecutive semicolons)...",
|
185 |
placeholder="Labels here separated by ;;"),
|
186 |
-
gr.inputs.
|
187 |
label="Multi-label?")],
|
188 |
outputs=gr.outputs.Label(num_top_classes=5),
|
189 |
#interpretation="default",
|
|
|
183 |
gr.inputs.Textbox(lines=2,
|
184 |
label="Please enter the candidate labels (separated by 2 consecutive semicolons)...",
|
185 |
placeholder="Labels here separated by ;;"),
|
186 |
+
gr.inputs.Radio(choices=[False, True],
|
187 |
label="Multi-label?")],
|
188 |
outputs=gr.outputs.Label(num_top_classes=5),
|
189 |
#interpretation="default",
|