Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| import numpy as np | |
| import pandas as pd | |
| st.write("<h1 style='text-align:center; color:#d2691e;'>Conclusion</h1>",unsafe_allow_html=True) | |
| # Define the URL of the background image (use your own image URL) | |
| background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/vulm4WwHmmA14tsVXYaTM.jpeg" | |
| # Apply custom CSS for the background image and overlay | |
| st.markdown( | |
| f""" | |
| <style> | |
| .stApp {{ | |
| background-image: url("{background_image_url}"); | |
| background-size: cover; | |
| background-position: center; | |
| height: 100vh; | |
| }} | |
| /* Semi-transparent overlay */ | |
| .stApp::before {{ | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(0, 0, 0, 0.4); /* Adjust transparency here (0.4 for 40% transparency) */ | |
| z-index: -1; | |
| }} | |
| /* Styling the content to ensure text visibility */ | |
| .stMarkdown {{ | |
| color: black; /* White text to ensure visibility */ | |
| font-size: 30px; /* Adjust font size for better readability */ | |
| }} | |
| </style> | |
| """, | |
| unsafe_allow_html=True | |
| ) |