File size: 2,284 Bytes
275e79c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html>
<head>
    <title>Student Placement Prediction</title>
    <style>
        body { font-family: Arial, sans-serif; margin: 40px; }
        label { display: inline-block; width: 200px; }
        input, select { margin-bottom: 10px; }
    </style>
</head>
<body>
    <h1>Student Placement Prediction</h1>
    <form action="/predict" method="post">
        <label for="CGPA">CGPA:</label>
        <input type="number" step="0.1" id="CGPA" name="CGPA" required><br>
        
        <label for="Internships">Internships:</label>
        <input type="number" id="Internships" name="Internships" required><br>
        
        <label for="Projects">Projects:</label>
        <input type="number" id="Projects" name="Projects" required><br>
        
        <label for="Workshops_Certifications">Workshops/Certifications:</label>
        <input type="number" id="Workshops_Certifications" name="Workshops_Certifications" required><br>
        
        <label for="AptitudeTestScore">Aptitude Test Score:</label>
        <input type="number" id="AptitudeTestScore" name="AptitudeTestScore" required><br>
        
        <label for="SoftSkillRating">Soft Skill Rating:</label>
        <input type="number" step="0.1" id="SoftSkillRating" name="SoftSkillRating" required><br>
        
        <label for="ExtracurricularActivities">Extracurricular Activities:</label>
        <select id="ExtracurricularActivities" name="ExtracurricularActivities" required>
            <option value="Yes">Yes</option>
            <option value="No">No</option>
        </select><br>
        
        <label for="PlacementTraining">Placement Training:</label>
        <select id="PlacementTraining" name="PlacementTraining" required>
            <option value="Yes">Yes</option>
            <option value="No">No</option>
        </select><br>
        
        <label for="SSC_Marks">SSC Marks:</label>
        <input type="number" id="SSC_Marks" name="SSC_Marks" required><br>
        
        <label for="HSC_Marks">HSC Marks:</label>
        <input type="number" id="HSC_Marks" name="HSC_Marks" required><br>
        
        <button type="submit">Predict</button>
    </form>
    
    {% if prediction %}
        <h2>Prediction: {{ prediction }}</h2>
    {% endif %}
</body>
</html>