curtpond commited on
Commit
6139d04
1 Parent(s): 96be16c

Updated app.py with better text.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ demo = gr.Interface(fn=predict,
19
  title="Text Classification Demo",
20
  description="This is a demo of a text classification model using Logistic Regression.",
21
  inputs=gr.Textbox(lines=10, placeholder='Input text here...', label="Input Text"),
22
- outputs=gr.Textbox(label="Predicted Label", lines=2, placeholder='Predicted label will appear here...'),
23
  allow_flagging='never'
24
  )
25
 
 
19
  title="Text Classification Demo",
20
  description="This is a demo of a text classification model using Logistic Regression.",
21
  inputs=gr.Textbox(lines=10, placeholder='Input text here...', label="Input Text"),
22
+ outputs=gr.Textbox(label="Predicted Label: Other = 1, Healthcare = 2, Technology = 3", lines=2, placeholder='Predicted label will appear here...'),
23
  allow_flagging='never'
24
  )
25