Spaces:
Sleeping
Sleeping
modified: app.py
Browse files
app.py
CHANGED
|
@@ -165,9 +165,13 @@ def main():
|
|
| 165 |
st.write(remarks)
|
| 166 |
|
| 167 |
if not pd.isna(grade):
|
| 168 |
-
if grade
|
| 169 |
message = f"Keep up the good work! Your grade of {grade:.2f} shows dedication. Consider seeking additional support to further improve your performance."
|
| 170 |
st.markdown(f"<p class='message'>{message}</p>", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
else:
|
| 172 |
message = f"Congratulations! Your outstanding grade of {grade:.2f} demonstrates exceptional performance. Keep up the excellent work!"
|
| 173 |
st.markdown(f"<p class='message'>{message}</p>", unsafe_allow_html=True)
|
|
|
|
| 165 |
st.write(remarks)
|
| 166 |
|
| 167 |
if not pd.isna(grade):
|
| 168 |
+
if grade >= 1.9 and grade <= 3.0:
|
| 169 |
message = f"Keep up the good work! Your grade of {grade:.2f} shows dedication. Consider seeking additional support to further improve your performance."
|
| 170 |
st.markdown(f"<p class='message'>{message}</p>", unsafe_allow_html=True)
|
| 171 |
+
|
| 172 |
+
elif grade > 3.00:
|
| 173 |
+
message = f"Your grade of {grade:.2f} indicates that you did not meet the passing requirements. Please consult with your instructor to discuss options for improvement and potential remediation."
|
| 174 |
+
st.markdown(f"<p class='message'>{message}</p>", unsafe_allow_html=True)
|
| 175 |
else:
|
| 176 |
message = f"Congratulations! Your outstanding grade of {grade:.2f} demonstrates exceptional performance. Keep up the excellent work!"
|
| 177 |
st.markdown(f"<p class='message'>{message}</p>", unsafe_allow_html=True)
|