curtpond commited on
Commit
7129d6d
1 Parent(s): 0f6783f

Updated app.py.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def predict(text):
13
  # Define interface
14
  iface = gr.Interface(fn=predict,
15
  inputs=gr.inputs.Textbox(lines=10, label="Input Text"),
16
- outputs="Text Classification Results: Other[0], Healthcare[1], Technology[2]",
17
  title="Text Classification",
18
  description="Classify text as other[0], healthcare[1], or technology[2]",
19
  examples=[
 
13
  # Define interface
14
  iface = gr.Interface(fn=predict,
15
  inputs=gr.inputs.Textbox(lines=10, label="Input Text"),
16
+ outputs=gr.outputs.Label(num_top_classes=3),
17
  title="Text Classification",
18
  description="Classify text as other[0], healthcare[1], or technology[2]",
19
  examples=[