arkacjoy commited on
Commit
8466093
·
verified ·
1 Parent(s): 3e89732

Rename templates/index.html.txt to templates/index.html

Browse files
Files changed (2) hide show
  1. templates/index.html +43 -0
  2. templates/index.html.txt +0 -0
templates/index.html ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Bike Accident Prediction</title>
7
+ <link rel="stylesheet" href="/static/style.css">
8
+ </head>
9
+ <body>
10
+ <h2>Enter Values for Predicting Accident</h2>
11
+ <h3> Our innovative tool offers a personalized accident risk assessment designed specifically for motorbike riders, providing valuable insights into their potential for on-road incidents. By analyzing key factors such as the rider's accumulated riding experience, the presence of defensive riding training, the frequency of weekly speed limit violations, and the extent of nighttime riding exposure, the program generates a calculated probability of accident involvement. This detailed analysis aims to empower riders with a clear understanding of their individual risk profile, facilitating informed decision-making and promoting safer riding habits. Ultimately, this program seeks to elevate rider awareness of potential dangers and contribute to a significant reduction in motorbike accidents by providing actionable, data-driven insights. </h3>
12
+ <form action="/predict" method="post">
13
+ <ul>
14
+ <li>
15
+ <label for="x1">Total Speed Violation Incident Per Week:</label>
16
+ <input type="number" step="any" name="x1" min="0" required>
17
+ </li>
18
+ <li>
19
+ <label for="x2">Total Riding Distance Coverage (in KM) During Night in a Week:</label>
20
+ <input type="number" step="any" name="x2" min="0" required>
21
+ </li>
22
+ <li>
23
+ <label for="x3">Defensive Driving Training:</label>
24
+ <input type="number" step="any" name="x3" min="0" max="1" required>
25
+ <label for="x4">If the ride has received defensive motorbike riding training from an authorized institution, input
26
+ 1; else, input 0</label>
27
+ </li>
28
+ <li>
29
+ <label for="x4">Driving Exeperience Category:</label>
30
+ <input type="number" step="any" name="x4" min="1" max="3" required>
31
+ <label for="x4">If the motorbike riding experience in between 0 to 2 years, input 1;for experience between 2 to
32
+ 5 years, input 2; for more than 5 years, input 3.</label>
33
+
34
+ </li>
35
+ </ul>
36
+ <button type="submit">Predict</button>
37
+ </form>
38
+
39
+ {% if result %}
40
+ <h3>Possibility of Accident: {{ result }}</h3>
41
+ {% endif %}
42
+ </body>
43
+ </html>
templates/index.html.txt DELETED
File without changes