Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,5 +13,5 @@ text_input = gr.Textbox(lines=5, placeholder='Once upon a time...', label='Text
|
|
13 |
class_input = gr.Textbox(value='positive,negative', label='Class Label', show_label=True)
|
14 |
allow_multi_label = gr.Checkbox(value=True, label='Multiple True Classes')
|
15 |
|
16 |
-
app = gr.Interface(fn=infer, inputs=[text_input, class_input, allow_multi_label], outputs=
|
17 |
app.launch()
|
|
|
13 |
class_input = gr.Textbox(value='positive,negative', label='Class Label', show_label=True)
|
14 |
allow_multi_label = gr.Checkbox(value=True, label='Multiple True Classes')
|
15 |
|
16 |
+
app = gr.Interface(fn=infer, inputs=[text_input, class_input, allow_multi_label], outputs=gr.Label())
|
17 |
app.launch()
|