Spaces:
Build error
Build error
Create result.html
Browse files- template/result.html +100 -0
template/result.html
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| 7 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 8 |
+
<title>Crime Rate Prediction</title>
|
| 9 |
+
<link rel="icon" href="static/images/favicon.png" type="image/png">
|
| 10 |
+
|
| 11 |
+
<link rel="stylesheet" href="static/styles.css">
|
| 12 |
+
<style>
|
| 13 |
+
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400;1,500&display=swap');
|
| 14 |
+
</style>
|
| 15 |
+
</head>
|
| 16 |
+
|
| 17 |
+
<body>
|
| 18 |
+
<header>
|
| 19 |
+
<h1 class = "title">Crime Rate Predictor</h1>
|
| 20 |
+
<h2 class = "tagline">Unlock safety: Reduce crime rate together</h2>
|
| 21 |
+
</header>
|
| 22 |
+
|
| 23 |
+
<section class="prediction">
|
| 24 |
+
<table class="table2">
|
| 25 |
+
<tr class="r1">
|
| 26 |
+
<td class="label">
|
| 27 |
+
<label>Selected City Name :</label>
|
| 28 |
+
</td>
|
| 29 |
+
<td class="sel">
|
| 30 |
+
<select>
|
| 31 |
+
<option value="selected">{{city_name}}</option>
|
| 32 |
+
</td>
|
| 33 |
+
</tr>
|
| 34 |
+
<tr class="r1">
|
| 35 |
+
<td class="label">
|
| 36 |
+
<label>Selected Crime Type :</label>
|
| 37 |
+
</td>
|
| 38 |
+
<td class="sel">
|
| 39 |
+
<select >
|
| 40 |
+
<option value="selected">{{crime_type}}</option>
|
| 41 |
+
</td>
|
| 42 |
+
</tr>
|
| 43 |
+
<tr class="r1">
|
| 44 |
+
<td class="label">
|
| 45 |
+
<label>Selected Year :</label>
|
| 46 |
+
</td>
|
| 47 |
+
<td class="sel">
|
| 48 |
+
<select>
|
| 49 |
+
<option value="selected">{{year}}</option>
|
| 50 |
+
</td>
|
| 51 |
+
</tr>
|
| 52 |
+
</table>
|
| 53 |
+
|
| 54 |
+
<table class="table3">
|
| 55 |
+
|
| 56 |
+
<tr class="r2"">
|
| 57 |
+
<td class="result">Prediction :</td>
|
| 58 |
+
<td class="result">{{crime_status}}</td>
|
| 59 |
+
</tr>
|
| 60 |
+
<tr class="r2">
|
| 61 |
+
<td class="result">Estimated Crime Rate :</td>
|
| 62 |
+
<td class="result">{{crime_rate}}</td>
|
| 63 |
+
</tr>
|
| 64 |
+
<tr class="r2">
|
| 65 |
+
<td class="result">Estimated Number of Cases :</td>
|
| 66 |
+
<td class="result">{{cases}}</td>
|
| 67 |
+
</tr>
|
| 68 |
+
<tr class="r2">
|
| 69 |
+
<td class="result">Population (in Lakhs) :</td>
|
| 70 |
+
<td class="result">{{population}}</td>
|
| 71 |
+
</tr>
|
| 72 |
+
</table>
|
| 73 |
+
|
| 74 |
+
<div class="button2" >
|
| 75 |
+
<a href="http://127.0.0.1:5000">
|
| 76 |
+
<input type="submit" class="btn id="check_again"" value="Let's Check Again" >
|
| 77 |
+
</a>
|
| 78 |
+
</div>
|
| 79 |
+
|
| 80 |
+
</section>
|
| 81 |
+
|
| 82 |
+
<footer>
|
| 83 |
+
<div class="footer">
|
| 84 |
+
<div id="developer">
|
| 85 |
+
<h3 >Developed By:   Abhay Rautela</h3>
|
| 86 |
+
</div>
|
| 87 |
+
<div id="linkedin">
|
| 88 |
+
<a href="https://www.linkedin.com/in/tushar-sharma-2001/" target="_blank">
|
| 89 |
+
<img src="static/images/linkedin.png" alt="linkedIn" width="35" >
|
| 90 |
+
</a>
|
| 91 |
+
</div>
|
| 92 |
+
<div id="github">
|
| 93 |
+
<a href="https://github.com/Tushar0804" target="_blank">
|
| 94 |
+
<img src="static/images/github.png" alt="GitHub" width="35">
|
| 95 |
+
</a>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
</footer>
|
| 99 |
+
</body>
|
| 100 |
+
</html>
|