Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ st.markdown("""
|
|
| 42 |
# )
|
| 43 |
|
| 44 |
# Apply custom CSS for the background image and overlay
|
| 45 |
-
background_image_url="https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/
|
| 46 |
st.markdown(
|
| 47 |
f"""
|
| 48 |
<style>
|
|
@@ -290,4 +290,4 @@ if st.button("Analyze", key="analyze-btn", help="Click to classify the news arti
|
|
| 290 |
category = predict_category(input_text)
|
| 291 |
st.markdown(f"<div class='result-box'>Predicted Category: {category}</div>", unsafe_allow_html=True)
|
| 292 |
else:
|
| 293 |
-
st.warning("Please enter some text to analyze.")
|
|
|
|
| 42 |
# )
|
| 43 |
|
| 44 |
# Apply custom CSS for the background image and overlay
|
| 45 |
+
background_image_url="https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/yiXBcm5bq8gcMoaMRSYEv.webp"
|
| 46 |
st.markdown(
|
| 47 |
f"""
|
| 48 |
<style>
|
|
|
|
| 290 |
category = predict_category(input_text)
|
| 291 |
st.markdown(f"<div class='result-box'>Predicted Category: {category}</div>", unsafe_allow_html=True)
|
| 292 |
else:
|
| 293 |
+
st.warning("Please enter some text to analyze.")
|