Mpavan45 commited on
Commit
83d3123
verified
1 Parent(s): b888451

Update app.py

Browse files

![DALL路E 2025-03-19 23.13.04 - A dark-themed background image for news classification. The image features a sleek, futuristic design with abstract data streams, glowing lines, and s.webp](https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/yiXBcm5bq8gcMoaMRSYEv.webp)

Files changed (1) hide show
  1. app.py +2 -2
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/ut9wBSlRR2CCpw95V5ej8.jpeg"
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.")