Spaces:
Runtime error
Runtime error
Everton Aleixo
commited on
Commit
•
c294868
1
Parent(s):
d938718
Fix erro.
Browse files
app.py
CHANGED
@@ -47,5 +47,5 @@ if clicked:
|
|
47 |
|
48 |
final_grade = (grade1*0.05)+(grade2*0.05)+(grade3*0.1)+(grade4*0.1)+(grade5*0.7)
|
49 |
color = 'red' if final_grade < 73 else 'blue'
|
50 |
-
complement = '
|
51 |
st.markdown(f"<h3 style='color: {color};'>{complement}.<br />The final grade of student is {final_grade}. It represents a concept of {get_concept(final_grade)}.</h3>", unsafe_allow_html=True)
|
|
|
47 |
|
48 |
final_grade = (grade1*0.05)+(grade2*0.05)+(grade3*0.1)+(grade4*0.1)+(grade5*0.7)
|
49 |
color = 'red' if final_grade < 73 else 'blue'
|
50 |
+
complement = 'REPROVED' if final_grade < 73 else 'APPROVED'
|
51 |
st.markdown(f"<h3 style='color: {color};'>{complement}.<br />The final grade of student is {final_grade}. It represents a concept of {get_concept(final_grade)}.</h3>", unsafe_allow_html=True)
|