Spaces:
Sleeping
Sleeping
Update pages/1_Classification.py
Browse files
pages/1_Classification.py
CHANGED
|
@@ -22,15 +22,15 @@ classifier = load_classifier()
|
|
| 22 |
|
| 23 |
#writing the text content in the page
|
| 24 |
st.title('<div class="main-title">News Classifier </div>',unsafe_allow_html=True)
|
| 25 |
-
st.write("""In this page the user can upload a CSV file which contains a content
|
| 26 |
column which includes a text, then the model will use text pre-processing (anlysis step for more details)
|
| 27 |
-
and then label the data based on 5 categories,""")
|
| 28 |
-
st.write("""
|
| 29 |
- Business
|
| 30 |
- Opinions
|
| 31 |
- Political_gossip
|
| 32 |
- Sports
|
| 33 |
-
- Worlds_news""")
|
| 34 |
|
| 35 |
#uploading the file
|
| 36 |
uploaded_file = st.file_uploader("Upload CSV", type=["csv"])
|
|
|
|
| 22 |
|
| 23 |
#writing the text content in the page
|
| 24 |
st.title('<div class="main-title">News Classifier </div>',unsafe_allow_html=True)
|
| 25 |
+
st.write("""<div class="topic-header">In this page the user can upload a CSV file which contains a content
|
| 26 |
column which includes a text, then the model will use text pre-processing (anlysis step for more details)
|
| 27 |
+
and then label the data based on 5 categories,</div>""",unsafe_allow_html=True)
|
| 28 |
+
st.write("""<div class="topic-header">
|
| 29 |
- Business
|
| 30 |
- Opinions
|
| 31 |
- Political_gossip
|
| 32 |
- Sports
|
| 33 |
+
- Worlds_news</div>""",unsafe_allow_html=True)
|
| 34 |
|
| 35 |
#uploading the file
|
| 36 |
uploaded_file = st.file_uploader("Upload CSV", type=["csv"])
|