Spaces:
Sleeping
Sleeping
Upload 8 files
Browse files- models/braintumor.h5 +3 -0
- static/bt.png +0 -0
- static/icons/braintumor.png +0 -0
- static/uploads/Y13.jpg +0 -0
- static/uploads/Y62.jpg +0 -0
- static/uploads/Y69.jpg +0 -0
- static/uploads/Y70.jpg +0 -0
- templates/braintumor.html +172 -0
models/braintumor.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a756efdea8aa2748819ea2ccfbf2e0f4dad62236726532adb50439f06f55165
|
| 3 |
+
size 59111488
|
static/bt.png
ADDED
|
static/icons/braintumor.png
ADDED
|
|
static/uploads/Y13.jpg
ADDED
|
static/uploads/Y62.jpg
ADDED
|
static/uploads/Y69.jpg
ADDED
|
static/uploads/Y70.jpg
ADDED
|
templates/braintumor.html
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
|
| 4 |
+
<style type='text/css'>
|
| 5 |
+
body {
|
| 6 |
+
background-image: url(static/bt.png);
|
| 7 |
+
background-position: center;
|
| 8 |
+
background-size: cover;
|
| 9 |
+
font-family: sans-serif;
|
| 10 |
+
margin-top: 40px;
|
| 11 |
+
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.regform {
|
| 15 |
+
width: 800px;
|
| 16 |
+
background-color: rgb(0, 0, 0, 0.8);
|
| 17 |
+
margin: auto;
|
| 18 |
+
color: #FFFFFF;
|
| 19 |
+
padding: 10px 0px 10px 0px;
|
| 20 |
+
text-align: center;
|
| 21 |
+
border-radius: 15px 15px 0px 0px;
|
| 22 |
+
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.main-form {
|
| 26 |
+
width: 800px;
|
| 27 |
+
margin: auto;
|
| 28 |
+
background-color: rgb(0, 0, 0, 0.7);
|
| 29 |
+
padding-left: 50px;
|
| 30 |
+
padding-right: 50px;
|
| 31 |
+
padding-bottom: 20px;
|
| 32 |
+
color: #FFFFFF;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.form-group {
|
| 36 |
+
margin-top: 5px;
|
| 37 |
+
margin-bottom: 5px;
|
| 38 |
+
}
|
| 39 |
+
</style>
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
<head>
|
| 43 |
+
<!-- Required meta tags -->
|
| 44 |
+
<meta charset="utf-8">
|
| 45 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 46 |
+
|
| 47 |
+
<!-- Bootstrap CSS -->
|
| 48 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet"
|
| 49 |
+
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
|
| 50 |
+
|
| 51 |
+
<title>Brain Tumor Detection</title>
|
| 52 |
+
</head>
|
| 53 |
+
|
| 54 |
+
<body>
|
| 55 |
+
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
| 56 |
+
<div class="container-fluid">
|
| 57 |
+
<a class="navbar-brand" href="/">HealthCure</a>
|
| 58 |
+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
|
| 59 |
+
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
|
| 60 |
+
aria-label="Toggle navigation">
|
| 61 |
+
<span class="navbar-toggler-icon"></span>
|
| 62 |
+
</button>
|
| 63 |
+
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
| 64 |
+
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
|
| 65 |
+
|
| 66 |
+
<li class="nav-item">
|
| 67 |
+
<a class="nav-link " aria-current="page" href="/covid">Covid</a>
|
| 68 |
+
</li>
|
| 69 |
+
|
| 70 |
+
<li class="nav-item">
|
| 71 |
+
<a class="nav-link active" aria-current="page" href="/braintumor">Brain Tumor</a>
|
| 72 |
+
</li>
|
| 73 |
+
|
| 74 |
+
<li class="nav-item">
|
| 75 |
+
<a class="nav-link " aria-current="page" href="/breastcancer">Breast Cancer</a>
|
| 76 |
+
</li>
|
| 77 |
+
|
| 78 |
+
<li class="nav-item">
|
| 79 |
+
<a class="nav-link " aria-current="page" href="/alzheimer">Alzheimer</a>
|
| 80 |
+
</li>
|
| 81 |
+
|
| 82 |
+
<li class="nav-item">
|
| 83 |
+
<a class="nav-link " aria-current="page" href="/diabetes">Diabetes</a>
|
| 84 |
+
</li>
|
| 85 |
+
|
| 86 |
+
<li class="nav-item">
|
| 87 |
+
<a class="nav-link " aria-current="page" href="/pneumonia">Pneumonia</a>
|
| 88 |
+
</li>
|
| 89 |
+
|
| 90 |
+
<li class="nav-item">
|
| 91 |
+
<a class="nav-link " aria-current="page" href="/heartdisease">Heart Disease</a>
|
| 92 |
+
</li>
|
| 93 |
+
</ul>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</nav>
|
| 97 |
+
|
| 98 |
+
<div class='regform mt-3'>
|
| 99 |
+
<h1>Brain Tumor Detection</h1>
|
| 100 |
+
</div>
|
| 101 |
+
|
| 102 |
+
<form action='resultbt' class='main-form needs-validation' method="POST" enctype="multipart/form-data">
|
| 103 |
+
<div class="row">
|
| 104 |
+
<div class="col">
|
| 105 |
+
<div class='form-group'>
|
| 106 |
+
<label for="firstname">Firstname</label>
|
| 107 |
+
<input type="text" name="firstname" id="firstname" class="form-control" required='True'>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
<div class="col">
|
| 111 |
+
<div class='form-group'>
|
| 112 |
+
<label for="lastname">Lastname</label>
|
| 113 |
+
<input type="text" name="lastname" id="lastname" class="form-control" required='True'>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
<div class='form-group'>
|
| 120 |
+
<label for="phone">Phone No.</label>
|
| 121 |
+
<input type="number" name="phone" id="phone" class="form-control" required='True'>
|
| 122 |
+
<small class='form-text ' style='color: #FFFFFF;'>* Include your area code</small>
|
| 123 |
+
</div>
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
<div class='form-group'>
|
| 127 |
+
<label for="email">Email</label>
|
| 128 |
+
<input type="email" name="email" id="email" class="form-control" required='True'>
|
| 129 |
+
</div>
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
<div class="row">
|
| 133 |
+
<div class="col">
|
| 134 |
+
<div class="form-group">
|
| 135 |
+
<label for="gender">Gender</label>
|
| 136 |
+
<select name="gender" id="gender" class="form-control" required='True'>
|
| 137 |
+
<option value="male">Male</option>
|
| 138 |
+
<option value="female">Female</option>
|
| 139 |
+
</select>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="col">
|
| 143 |
+
<div class='form-group'>
|
| 144 |
+
<label for="age">Age</label>
|
| 145 |
+
<input type="number" name="age" id="age" class="form-control" required='True'>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
|
| 150 |
+
<div class='form-group'>
|
| 151 |
+
<label for="inputGroupFile02">Upload your Brain MRI </label>
|
| 152 |
+
<input type="file" class="form-control" id="file" name='file'>
|
| 153 |
+
</div>
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
<div class='text-center'>
|
| 157 |
+
<button type='submit' class='btn btn-outline-success' style='width:700px;margin-top: 30px;'> Submit
|
| 158 |
+
</button>
|
| 159 |
+
</div>
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
|
| 163 |
+
</form>
|
| 164 |
+
|
| 165 |
+
<!-- Option 1: Bootstrap Bundle with Popper -->
|
| 166 |
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js"
|
| 167 |
+
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
|
| 168 |
+
crossorigin="anonymous"></script>
|
| 169 |
+
|
| 170 |
+
</body>
|
| 171 |
+
|
| 172 |
+
</html>
|