-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
41 lines (36 loc) · 897 Bytes
/
home.html
File metadata and controls
41 lines (36 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<title>ProReader</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<header>
<h1>ProReader</h1>
</header>
<main>
<form action="/upload" method="POST" enctype="multipart/form-data">
<input type="file" name="image" required>
<input type="submit" value="Upload">
</form>
{% if prediction %}
<h2>Prediction:</h2>
<p>{{ prediction }}</p>
{% endif %}
</main>
<nav>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Contact</a>
</nav>
<div class="content">
<h2>Welcome to my Flask app!</h2>
<p>This is some sample content.</p>
</div>
<footer>
<p>© Made by Daksh Raghuvanshi</p>
</footer>
</body>
</html>