Sudipta Nayak
commited on
Commit
·
15767d8
1
Parent(s):
bad010c
no message
Browse files
app/templates/result.html
CHANGED
@@ -14,7 +14,11 @@
|
|
14 |
</head>
|
15 |
<body>
|
16 |
<h1>Object Detection Result</h1>
|
17 |
-
<
|
|
|
|
|
|
|
|
|
18 |
<img id="output"/>
|
19 |
</body>
|
20 |
</html>
|
|
|
14 |
</head>
|
15 |
<body>
|
16 |
<h1>Object Detection Result</h1>
|
17 |
+
<form action="/detect/" method="post" enctype="multipart/form-data">
|
18 |
+
<label for="file">Upload an Image or Video :</label>
|
19 |
+
<input type="file" id="file" name="file" accept=".jpg, .jpeg, .png, .mp4" required>
|
20 |
+
<button type="submit">Detect</button>
|
21 |
+
</form>
|
22 |
<img id="output"/>
|
23 |
</body>
|
24 |
</html>
|