Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ from keras.preprocessing.sequence import pad_sequences
|
|
| 21 |
import pickle
|
| 22 |
|
| 23 |
# β
Enable full-width mode for Hugging Face
|
| 24 |
-
st.set_page_config(page_title="News
|
| 25 |
|
| 26 |
|
| 27 |
# β
Function to set background image
|
|
@@ -168,8 +168,8 @@ st.markdown(
|
|
| 168 |
)
|
| 169 |
|
| 170 |
# β
Page Title
|
| 171 |
-
st.markdown("<div class='title'
|
| 172 |
-
st.markdown("<div class='subtitle'>
|
| 173 |
|
| 174 |
# β
User Input
|
| 175 |
user_input = st.text_area("Enter text here:", height=150, placeholder="Type your news text here...")
|
|
|
|
| 21 |
import pickle
|
| 22 |
|
| 23 |
# β
Enable full-width mode for Hugging Face
|
| 24 |
+
st.set_page_config(page_title="Intelligent News Classifier", page_icon="π§ ", layout="wide")
|
| 25 |
|
| 26 |
|
| 27 |
# β
Function to set background image
|
|
|
|
| 168 |
)
|
| 169 |
|
| 170 |
# β
Page Title
|
| 171 |
+
st.markdown("<div class='title'>π§ Intelligent News Classifier</div>", unsafe_allow_html=True)
|
| 172 |
+
st.markdown("<div class='subtitle'>Find out what type of news you're reading!.</div>", unsafe_allow_html=True)
|
| 173 |
|
| 174 |
# β
User Input
|
| 175 |
user_input = st.text_area("Enter text here:", height=150, placeholder="Type your news text here...")
|