LakshmiHarika commited on
Commit
351f5db
·
verified ·
1 Parent(s): 04f85e8

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +34 -5
pages/Data Collection.py CHANGED
@@ -1,11 +1,40 @@
1
  import streamlit as st
 
2
 
3
- # Page configuration
4
  st.set_page_config(
5
- page_title="Data Collection",
6
- page_icon="📊",
7
  layout="wide"
8
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
-
11
-
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
+ import pandas as pd
3
 
 
4
  st.set_page_config(
5
+ page_title="HomePage",
6
+ page_icon="🚀",
7
  layout="wide"
8
  )
9
+ # Global CSS for consistent styling across all pages
10
+ st.markdown("""
11
+ <style>
12
+ body, .stApp {
13
+ color: #4F4F4F; /* Replace with your desired font color */
14
+ background-color: #FFFFFF; /* Optional: Set a fixed background color */
15
+ }
16
+ h1, h2, h3, h4, h5, h6 {
17
+ color: #BB3385; /* Replace with your heading color */
18
+ }
19
+ p {
20
+ color: #4F4F4F; /* Replace with your paragraph text color */
21
+ }
22
+ ul li {
23
+ color: #4F4F4F; /* List item color */
24
+ }
25
+ </style>
26
+ """, unsafe_allow_html=True)
27
 
28
+ st.markdown(
29
+ """
30
+ <style>
31
+ .stApp {
32
+ background-image: url("https://huggingface.co/spaces/LakshmiHarika/MachineLearning/resolve/main/DALL%C2%B7E%202024-12-03%2023.34.47%20-%20A%20simple%20and%20elegant%20background%20image%20for%20an%20AI-themed%20web%20application.%20The%20background%20should%20feature%20a%20soft%20gradient%20transitioning%20from%20white%20to%20ligh.webp");
33
+ background-size: cover;
34
+ background-repeat: no-repeat;
35
+ background-attachment: fixed;
36
+ }
37
+ </style>
38
+ """,
39
+ unsafe_allow_html=True
40
+ )