AbuBakarHere commited on
Commit
71804a1
1 Parent(s): 76d307f

Upload upload.html

Browse files
Files changed (1) hide show
  1. templates/upload.html +36 -0
templates/upload.html ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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">
6
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
7
+ <title>Mobile or Laptop</title>
8
+ <body>
9
+
10
+ <div class = 'container bg-'>
11
+ <h1 class = 'display-7'>
12
+ Phone or Laptop
13
+ <small class = 'text-muted'>Through Deep Learning</small>
14
+ </h1>
15
+ <p>
16
+ <em>Just Upload Picture of a Laptop or Phone and this will predict whether the uploaded picture is Laptop or Phone.</em>
17
+ </p>
18
+
19
+ <figcaption class = 'blockquote-footer'>
20
+ You can check out the code on <a href = "https://github.com/AbuBakar-here/laptop-or-phone">github</a>.
21
+ </figcaption>
22
+ <form action = "/uploader" method = "POST" enctype = "multipart/form-data">
23
+ <div class="mb-3">
24
+ <label for="exampleInputEmail1" class="form-label">Email address</label>
25
+ <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
26
+ <div id="emailHelp" class="form-text">I never share your email with anyone else.</div>
27
+ </div>
28
+ <div class="input-group mb-3">
29
+ <input type="file" class="form-control" id="inputGroupFile02" name = 'file'>
30
+ <label class="input-group-text" for="inputGroupFile02">Upload</label>
31
+ </div>
32
+ <button type="submit" class="btn btn-primary">Submit</button>
33
+ </form>
34
+ </div>
35
+ </body>
36
+ </html>