Harika22 commited on
Commit
ff8388d
·
verified ·
1 Parent(s): d00ae54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -13
app.py CHANGED
@@ -1,16 +1,14 @@
1
  import streamlit as st
2
 
3
- st.markdown("""
4
- <style>
5
- /* Body styling with gradient and background image */
6
- body {
7
- background: linear-gradient(to right, rgba(255, 0, 150, 0.7), rgba(0, 204, 255, 0.7)),
8
- url('https://source.unsplash.com/1920x1080/?nature,technology');
9
- background-size: cover;
10
- background-attachment: fixed;
11
- color: white;
12
- font-family: 'Arial', sans-serif;
13
- }
14
 
15
  /* Title styling */
16
  h1 {
@@ -36,8 +34,8 @@ st.markdown("""
36
  unsafe_allow_html=True,
37
  )
38
 
39
- st.markdown("<h1>Zero to Hero in Machine Learning</h1>", unsafe_allow_html=True)
40
- st.caption("<h2>The Evolution of Intelligence Begins Here</h2>", unsafe_allow_html=True)
41
 
42
  st.write("")
43
 
 
1
  import streamlit as st
2
 
3
+ page_element="""
4
+ <style>
5
+ [data-testid="stAppViewContainer"]{
6
+ background-image: url("https://www.freepik.com/free-photo/ai-technology-brain-background-digital-transformation-concept_17164388.htm#fromView=keyword&page=1&position=1&uuid=324bf130-9bae-44b7-bac1-4f06c199a33c");
7
+ background-size: cover;
8
+ }
9
+ </style>
10
+ """
11
+ st.markdown(page_element, unsafe_allow_html=True)
 
 
12
 
13
  /* Title styling */
14
  h1 {
 
34
  unsafe_allow_html=True,
35
  )
36
 
37
+ st.markdown("<h1>Zero to Hero in ML</h1>", unsafe_allow_html=True)
38
+ st.caption("The Evolution of Intelligence Begins Here")
39
 
40
  st.write("")
41