Spaces:
Runtime error
Runtime error
| <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> |