heboya8 commited on
Commit
534b3be
·
verified ·
1 Parent(s): d43e3b1

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +5 -2
templates/index.html CHANGED
@@ -5,8 +5,11 @@
5
  <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
6
  </head>
7
  <body>
8
- <h1>Real-Time Object Detection</h1>
9
- <p>Upload an image to detect objects using DETR.</p>
 
 
 
10
  <form method="POST" enctype="multipart/form-data" action="/upload">
11
  <input type="file" name="file" accept="image/*">
12
  <input type="submit" value="Detect Objects">
 
5
  <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
6
  </head>
7
  <body>
8
+ <h1>Object Detection with DETR</h1>
9
+ <p>Upload an image to detect objects.</p>
10
+ {% if error %}
11
+ <p style="color: red;">{{ error }}</p>
12
+ {% endif %}
13
  <form method="POST" enctype="multipart/form-data" action="/upload">
14
  <input type="file" name="file" accept="image/*">
15
  <input type="submit" value="Detect Objects">