Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Student Score Predictor</title> | |
</head> | |
<body> | |
<h1>Student Score Predictor</h1> | |
<h2>Cloud Computing</h2> | |
<form method="POST" action="/"> | |
<input type="hidden" name="form_type" value="cloud_computing"> | |
<p>Enter your scores for the activities:</p> | |
{% for activity, max_mark in cc_max_marks.items() %} | |
<label for="cc_{{ activity }}">{{ activity }} (Max Marks: {{ max_mark }}):</label> | |
<input type="number" step="0.1" name="{{ activity }}" id="cc_{{ activity }}"><br> | |
{% endfor %} | |
<button type="submit">Predict Cloud Computing Final Score</button> | |
</form> | |
{% if cc_predicted_score is not none %} | |
<h3 style="color: blue;">Predicted Cloud Computing Final Score: {{ cc_predicted_score }}</h3> | |
{% endif %} | |
<h2>ICT</h2> | |
<form method="POST" action="/"> | |
<input type="hidden" name="form_type" value="ict"> | |
<p>Enter your scores for the activities:</p> | |
{% for activity, max_mark in ict_max_marks.items() %} | |
<label for="ict_{{ activity }}">{{ activity }} (Max Marks: {{ max_mark }}):</label> | |
<input type="number" step="0.1" name="{{ activity }}" id="ict_{{ activity }}"><br> | |
{% endfor %} | |
<button type="submit">Predict ICT Final Score</button> | |
</form> | |
{% if ict_predicted_score is not none %} | |
<h3 style="color: green;">Predicted ICT Final Score: {{ ict_predicted_score }}</h3> | |
{% endif %} | |
</body> | |
</html> | |