Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ st.markdown(
|
|
| 10 |
<style>
|
| 11 |
/* Set background image for the entire app */
|
| 12 |
.stApp {
|
| 13 |
-
background: url('https://www.
|
| 14 |
background-size: cover;
|
| 15 |
}
|
| 16 |
|
|
@@ -99,14 +99,15 @@ with col2:
|
|
| 99 |
SoftSkillsRating = st.number_input("Soft Skills Rating", min_value=0, max_value=5, step=1)
|
| 100 |
ExtracurricularActivities = st.selectbox("Extracurricular Activities", ["Yes", "No"])
|
| 101 |
ExtracurricularActivities = 1 if ExtracurricularActivities == "Yes" else 0
|
| 102 |
-
|
| 103 |
-
certifications = 1 if certifications == "Yes" else 0
|
| 104 |
|
| 105 |
with col3:
|
| 106 |
PlacementTraining = st.selectbox("Placement Training", ["Yes", "No"])
|
| 107 |
PlacementTraining = 1 if PlacementTraining == "Yes" else 0
|
| 108 |
SSC_Marks = st.number_input("SSC Marks", min_value=0, max_value=100, step=1)
|
| 109 |
HSC_Marks = st.number_input("HSC Marks", min_value=0, max_value=100, step=1)
|
|
|
|
|
|
|
| 110 |
|
| 111 |
# Predict Button
|
| 112 |
if st.button("Predict Placement"):
|
|
|
|
| 10 |
<style>
|
| 11 |
/* Set background image for the entire app */
|
| 12 |
.stApp {
|
| 13 |
+
background: url('https://www.mrscindore.org/images/placements.jpg') no-repeat center center fixed;
|
| 14 |
background-size: cover;
|
| 15 |
}
|
| 16 |
|
|
|
|
| 99 |
SoftSkillsRating = st.number_input("Soft Skills Rating", min_value=0, max_value=5, step=1)
|
| 100 |
ExtracurricularActivities = st.selectbox("Extracurricular Activities", ["Yes", "No"])
|
| 101 |
ExtracurricularActivities = 1 if ExtracurricularActivities == "Yes" else 0
|
| 102 |
+
|
|
|
|
| 103 |
|
| 104 |
with col3:
|
| 105 |
PlacementTraining = st.selectbox("Placement Training", ["Yes", "No"])
|
| 106 |
PlacementTraining = 1 if PlacementTraining == "Yes" else 0
|
| 107 |
SSC_Marks = st.number_input("SSC Marks", min_value=0, max_value=100, step=1)
|
| 108 |
HSC_Marks = st.number_input("HSC Marks", min_value=0, max_value=100, step=1)
|
| 109 |
+
certifications = st.selectbox("Do you have certifications?", ["Yes", "No"])
|
| 110 |
+
certifications = 1 if certifications == "Yes" else 0
|
| 111 |
|
| 112 |
# Predict Button
|
| 113 |
if st.button("Predict Placement"):
|