Spaces:
Runtime error
Runtime error
Create index.html
Browse files- index.html +76 -0
index.html
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Note Authentication App</title>
|
| 7 |
+
<style>
|
| 8 |
+
body {
|
| 9 |
+
font-family: Arial, sans-serif;
|
| 10 |
+
background-color: #f0f8ff;
|
| 11 |
+
text-align: center;
|
| 12 |
+
margin-top: 50px;
|
| 13 |
+
}
|
| 14 |
+
h1 {
|
| 15 |
+
color: #333;
|
| 16 |
+
font-size: 32px;
|
| 17 |
+
}
|
| 18 |
+
form {
|
| 19 |
+
margin-top: 30px;
|
| 20 |
+
}
|
| 21 |
+
label {
|
| 22 |
+
font-size: 18px;
|
| 23 |
+
}
|
| 24 |
+
input[type="range"] {
|
| 25 |
+
width: 80%;
|
| 26 |
+
}
|
| 27 |
+
input[type="number"] {
|
| 28 |
+
width: 60px;
|
| 29 |
+
}
|
| 30 |
+
.slider-container {
|
| 31 |
+
margin: 10px 0;
|
| 32 |
+
}
|
| 33 |
+
button {
|
| 34 |
+
padding: 10px 20px;
|
| 35 |
+
font-size: 16px;
|
| 36 |
+
background-color: #4CAF50;
|
| 37 |
+
color: white;
|
| 38 |
+
border: none;
|
| 39 |
+
cursor: pointer;
|
| 40 |
+
}
|
| 41 |
+
button:hover {
|
| 42 |
+
background-color: #45a049;
|
| 43 |
+
}
|
| 44 |
+
</style>
|
| 45 |
+
</head>
|
| 46 |
+
<body>
|
| 47 |
+
<h1>Note Authentication Prediction</h1>
|
| 48 |
+
<form action="/predict" method="POST">
|
| 49 |
+
<div class="slider-container">
|
| 50 |
+
<label for="variance">Variance (min: -7, max: 6.82):</label>
|
| 51 |
+
<input type="range" id="variance" name="variance" min="-7" max="6.82" step="0.01" value="0" oninput="this.nextElementSibling.value = this.value">
|
| 52 |
+
<input type="number" value="0" step="0.01" name="variance" required>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<div class="slider-container">
|
| 56 |
+
<label for="skewness">Skewness (min: -13.77, max: 12.95):</label>
|
| 57 |
+
<input type="range" id="skewness" name="skewness" min="-13.77" max="12.95" step="0.01" value="0" oninput="this.nextElementSibling.value = this.value">
|
| 58 |
+
<input type="number" value="0" step="0.01" name="skewness" required>
|
| 59 |
+
</div>
|
| 60 |
+
|
| 61 |
+
<div class="slider-container">
|
| 62 |
+
<label for="curtosis">Curtosis (min: -5.28, max: 17.93):</label>
|
| 63 |
+
<input type="range" id="curtosis" name="curtosis" min="-5.28" max="17.93" step="0.01" value="0" oninput="this.nextElementSibling.value = this.value">
|
| 64 |
+
<input type="number" value="0" step="0.01" name="curtosis" required>
|
| 65 |
+
</div>
|
| 66 |
+
|
| 67 |
+
<div class="slider-container">
|
| 68 |
+
<label for="entropy">Entropy (min: -8.54, max: 2.44):</label>
|
| 69 |
+
<input type="range" id="entropy" name="entropy" min="-8.54" max="2.44" step="0.01" value="0" oninput="this.nextElementSibling.value = this.value">
|
| 70 |
+
<input type="number" value="0" step="0.01" name="entropy" required>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<button type="submit">Predict</button>
|
| 74 |
+
</form>
|
| 75 |
+
</body>
|
| 76 |
+
</html>
|