Spaces:
Starting
Starting
Cleaned up interface text.
Browse files
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: Other
|
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 |
|