INNER CODE UNIT · Python
calculate_score
Niketkumardheeryan/ML-CaPsule · AI_Resume Analyzer/app.py:57
def calculate_score(found, total):
if total == 0:
return 0
score = int((len(found) / total) * 100)
return score
# ---------------------------
# SIDEBAR
# ---------------------------
st.sidebar.title("📌 About")
st.sidebar.info(
"""