File size: 2,714 Bytes
c0ec1b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Note Authentication App</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f8ff;
            text-align: center;
            margin-top: 50px;
        }
        h1 {
            color: #333;
            font-size: 32px;
        }
        form {
            margin-top: 30px;
        }
        label {
            font-size: 18px;
        }
        input[type="range"] {
            width: 80%;
        }
        input[type="number"] {
            width: 60px;
        }
        .slider-container {
            margin: 10px 0;
        }
        button {
            padding: 10px 20px;
            font-size: 16px;
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
    <h1>Note Authentication Prediction</h1>
    <form action="/predict" method="POST">
        <div class="slider-container">
            <label for="variance">Variance (min: -7, max: 6.82):</label>
            <input type="range" id="variance" name="variance" min="-7" max="6.82" step="0.01" value="0" oninput="this.nextElementSibling.value = this.value">
            <input type="number" value="0" step="0.01" name="variance" required>
        </div>
        
        <div class="slider-container">
            <label for="skewness">Skewness (min: -13.77, max: 12.95):</label>
            <input type="range" id="skewness" name="skewness" min="-13.77" max="12.95" step="0.01" value="0" oninput="this.nextElementSibling.value = this.value">
            <input type="number" value="0" step="0.01" name="skewness" required>
        </div>

        <div class="slider-container">
            <label for="curtosis">Curtosis (min: -5.28, max: 17.93):</label>
            <input type="range" id="curtosis" name="curtosis" min="-5.28" max="17.93" step="0.01" value="0" oninput="this.nextElementSibling.value = this.value">
            <input type="number" value="0" step="0.01" name="curtosis" required>
        </div>

        <div class="slider-container">
            <label for="entropy">Entropy (min: -8.54, max: 2.44):</label>
            <input type="range" id="entropy" name="entropy" min="-8.54" max="2.44" step="0.01" value="0" oninput="this.nextElementSibling.value = this.value">
            <input type="number" value="0" step="0.01" name="entropy" required>
        </div>

        <button type="submit">Predict</button>
    </form>
</body>
</html>