heboya8 commited on
Commit
5909d53
·
verified ·
1 Parent(s): d54596b

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +7 -3
templates/index.html CHANGED
@@ -1,11 +1,15 @@
1
  <!DOCTYPE html>
2
  <html>
3
  <head>
4
- <title>My Flask App</title>
5
  <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
6
  </head>
7
  <body>
8
- <h1>Welcome to My Flask App on Hugging Face Spaces!</h1>
9
- <p>This is a simple Flask application.</p>
 
 
 
 
10
  </body>
11
  </html>
 
1
  <!DOCTYPE html>
2
  <html>
3
  <head>
4
+ <title>Object Detection App</title>
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">
13
+ </form>
14
  </body>
15
  </html>