Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,15 +13,7 @@ def predict_marks(Hours_studied, Previous_Score, Extracurriculum_Activivities, S
|
|
| 13 |
|
| 14 |
def main():
|
| 15 |
# Sidebar Welcome Note with Emojis
|
| 16 |
-
|
| 17 |
-
st.sidebar.write("""
|
| 18 |
-
**Prepare to be amazed** as this super-genius AI predicts your future marks with the accuracy of a caffeinated fortune cookie.
|
| 19 |
-
Just enter how much you've studied (or napped ๐ด), and let the magic happen!
|
| 20 |
-
|
| 21 |
-
Remember, this AI never sleeps... but you should! ๐
|
| 22 |
-
""")
|
| 23 |
-
|
| 24 |
-
st.sidebar.markdown("---")
|
| 25 |
|
| 26 |
st.title("๐ Student Marks Predictor ๐")
|
| 27 |
|
|
@@ -34,7 +26,15 @@ def main():
|
|
| 34 |
Sample_Question = st.number_input("โ๏ธ Sample questions practiced", min_value=0, max_value=50, value=0)
|
| 35 |
|
| 36 |
# Sidebar interaction
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
# Predict button
|
| 39 |
if st.button("๐ฎ Predict Your Marks"):
|
| 40 |
prediction = predict_marks(Hours_studied, Previous_Score, Extracurriculum_Activivities, Sleep_Hours, Sample_Question)
|
|
|
|
| 13 |
|
| 14 |
def main():
|
| 15 |
# Sidebar Welcome Note with Emojis
|
| 16 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
st.title("๐ Student Marks Predictor ๐")
|
| 19 |
|
|
|
|
| 26 |
Sample_Question = st.number_input("โ๏ธ Sample questions practiced", min_value=0, max_value=50, value=0)
|
| 27 |
|
| 28 |
# Sidebar interaction
|
| 29 |
+
st.sidebar.title(f"# ๐ Welcome **{name}** to the Marks Oracle! ๐")
|
| 30 |
+
st.sidebar.write("""
|
| 31 |
+
**Prepare to be amazed** as this super-genius AI predicts your future marks with the accuracy of a caffeinated fortune cookie.
|
| 32 |
+
Just enter how much you've studied (or napped ๐ด), and let the magic happen!
|
| 33 |
|
| 34 |
+
Remember, this AI never sleeps... but you should! ๐
|
| 35 |
+
""")
|
| 36 |
+
|
| 37 |
+
st.sidebar.markdown("---")
|
| 38 |
# Predict button
|
| 39 |
if st.button("๐ฎ Predict Your Marks"):
|
| 40 |
prediction = predict_marks(Hours_studied, Previous_Score, Extracurriculum_Activivities, Sleep_Hours, Sample_Question)
|