Spaces:
Running
Running
Updated app.py.
Browse files
app.py
CHANGED
@@ -20,7 +20,6 @@ demo = gr.Interface(fn=predict,
|
|
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 |
-
examples=['The indictments were announced Tuesday by the Justice Department in Cairo.', "In 2019, the men's singles winner was Novak Djokovic who defeated Roger Federer in a tournament taking place in the United Kingdom.", 'In a study published by the American Heart Association on January 18, researchers at the Johns Hopkins School of Medicine found that meal timing did not impact weight.'],
|
24 |
allow_flagging='never'
|
25 |
)
|
26 |
|
|
|
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 |
|