-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresult.html
52 lines (52 loc) · 1.81 KB
/
result.html
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
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deepfake Detection Result</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css">
<style>
body {
background-color: #f0f8ff; /* Light blue background */
color: #333; /* Dark text color */
}
.container {
background-color: #ffffff; /* White background for the container */
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow */
padding: 30px;
}
h2 {
color: #007bff; /* Bootstrap primary color for the heading */
font-weight: bold;
margin-bottom: 20px;
}
p {
font-size: 1.1em;
margin-bottom: 15px;
}
.btn-primary {
background-color: #0066cc; /* Custom blue for the button */
border-color: #005cbf;
}
.btn-primary:hover {
background-color: #005cbf; /* Darker blue on hover */
border-color: #004bb5;
}
img {
max-width: 50%;
border: 2px solid #ddd;
border-radius: 10px;
}
</style>
</head>
<body>
<div class="container mt-5 text-center">
<h2>Classification Result</h2>
<p><strong>File:</strong> {{ filename }}</p>
<p><strong>Prediction:</strong> {{ result }}</p>
<img class="text-center" src="{{ url_for('static', filename='uploads/' + filename) }}" alt="Uploaded Image" class="img-fluid mt-3">
<a href="/" class="btn btn-primary mt-3">Upload Another Image</a>
</div>
</body>
</html>