LakshmiHarika commited on
Commit
95ea7ea
·
verified ·
1 Parent(s): d7ccfa7

Update pages/3Life Cycle of Machine Learning Project.py

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -46,83 +46,3 @@ st.markdown("""
46
 
47
 
48
 
49
- import streamlit as st
50
-
51
- # CSS for Circular Layout with precise positioning
52
- custom_css = """
53
- <style>
54
- html, body, [data-testid="stAppViewContainer"] {
55
- background: url('https://your-background-image-url') no-repeat center center fixed;
56
- background-size: cover;
57
- font-family: Arial, sans-serif;
58
- color: #ffffff;
59
- }
60
- .circle-container {
61
- display: flex;
62
- justify-content: center;
63
- align-items: center;
64
- position: relative;
65
- width: 600px;
66
- height: 600px;
67
- margin: 0 auto;
68
- }
69
- .circle-container .button {
70
- position: absolute;
71
- width: 110px;
72
- height: 110px;
73
- background: #2e2e3e;
74
- color: white;
75
- border-radius: 50%;
76
- display: flex;
77
- justify-content: center;
78
- align-items: center;
79
- text-align: center;
80
- font-size: 0.9rem;
81
- text-decoration: none;
82
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
83
- cursor: pointer;
84
- transition: transform 0.2s;
85
- }
86
- .circle-container .button:hover {
87
- transform: scale(1.1);
88
- }
89
- /* Adjust button positions to form a perfect circle */
90
- .button:nth-child(1) { top: 10%; left: 50%; transform: translate(-50%, -50%); } /* Top */
91
- .button:nth-child(2) { top: 25%; left: 75%; transform: translate(-50%, -50%); }
92
- .button:nth-child(3) { top: 50%; left: 90%; transform: translate(-50%, -50%); }
93
- .button:nth-child(4) { top: 75%; left: 75%; transform: translate(-50%, -50%); }
94
- .button:nth-child(5) { top: 90%; left: 50%; transform: translate(-50%, -50%); } /* Bottom */
95
- .button:nth-child(6) { top: 75%; left: 25%; transform: translate(-50%, -50%); }
96
- .button:nth-child(7) { top: 50%; left: 10%; transform: translate(-50%, -50%); }
97
- .button:nth-child(8) { top: 25%; left: 25%; transform: translate(-50%, -50%); }
98
- .center {
99
- position: absolute;
100
- top: 50%;
101
- left: 50%;
102
- transform: translate(-50%, -50%);
103
- font-size: 1.5rem;
104
- font-weight: bold;
105
- text-align: center;
106
- color: blue;
107
- }
108
- </style>
109
- """
110
-
111
- # HTML for Lifecycle Buttons
112
- ml_lifecycle_html = """
113
- <div class="circle-container">
114
- <a href="#" class="button">Problem Statement</a>
115
- <a href="#" class="button">Data Collection</a>
116
- <a href="#" class="button">Simple EDA</a>
117
- <a href="#" class="button">Pre Processing</a>
118
- <a href="#" class="button">EDA</a>
119
- <a href="#" class="button">Feature Engineering</a>
120
- <a href="#" class="button">Model Training</a>
121
- <a href="#" class="button">Testing</a>
122
- <a href="#" class="center">ML Lifecycle</a>
123
- </div>
124
- """
125
-
126
- # Apply CSS and Render HTML
127
- st.markdown(custom_css, unsafe_allow_html=True)
128
- st.markdown(ml_lifecycle_html, unsafe_allow_html=True)
 
46
 
47
 
48