Sudipta Nayak commited on
Commit
17e13ce
·
1 Parent(s): b3dc042

Issue-fix-5

Browse files
Files changed (1) hide show
  1. app/templates/index.html +2 -2
app/templates/index.html CHANGED
@@ -9,8 +9,8 @@
9
  <body>
10
  <h1>Welcome to Object Detection App</h1>
11
  <form action="/detect/" method="post" enctype="multipart/form-data">
12
- <label for="file">Choose a file:</label>
13
- <input type="file" id="file" name="file" accept=".jpg, .jpeg, .png, .mp4" required>
14
  <button type="submit">Detect Objects</button>
15
  </form>
16
  </body>
 
9
  <body>
10
  <h1>Welcome to Object Detection App</h1>
11
  <form action="/detect/" method="post" enctype="multipart/form-data">
12
+ <label for="file">Upload an Image or Video :</label>
13
+ <input type="file" id="file" name="file" onchange="readURL(this)" accept=".jpg, .jpeg, .png, .mp4" required>
14
  <button type="submit">Detect Objects</button>
15
  </form>
16
  </body>