Spaces:
Sleeping
Sleeping
File size: 1,542 Bytes
8ce3cdb 3cef3eb ff8388d 3cef3eb 8ce3cdb ff8388d 8ce3cdb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
import streamlit as st
custom_css = """
<style>
html, body, [data-testid="stAppViewContainer"] {
background: linear-gradient(
rgba(0, 0, 0, 0.6), /* Semi-transparent black overlay */
rgba(0, 0, 0, 0.6)
),
url("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/QsKOKzW4ju_OC-SazQLuG.jpeg") no-repeat center center fixed;
background-size: cover; /* Cover the entire screen */
font-family: Arial, sans-serif;
color: #ffffff;
}
h1 {
color: #ffffff;
text-align: center;
margin-top: 20px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add shadow for better visibility */
}
/* Style sections */
.section {
margin: 20px auto;
padding: 20px;
background: rgba(255, 255, 255, 0.1); /* Transparent background for readability */
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.section h2 {
color: #ffffff;
margin-bottom: 10px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Add shadow for better visibility */
}
.section p {
line-height: 1.6;
font-size: 1.1rem;
}
</style>
"""
# Apply custom CSS
st.write(custom_css, unsafe_allow_html=True)
st.markdown("<h1>Zero to Hero in ML</h1>", unsafe_allow_html=True)
st.caption("The Evolution of Intelligence Begins Here")
st.write("")
st.write("Explore the features of this app with stunning visuals and intuitive design.")
|