File size: 2,097 Bytes
40843fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Prediction Result : </title>
    <link rel="stylesheet" href="{{ url_for('static', filename='vehicle_result.css') }}">
</head>
<body>
    <div class="container">
        <h1>Prediction Result</h1>
        <div class="result-container">
            <p class="prediction">{{ result }}</p> 
        </div>
    </div>
    <div class="visualization">
        <div class="row">
            <!-- First row -->
            <div class="plot-container">
                <img src="data:image/png;base64,{{ plot1 }}" alt="Plot 1">
            </div>
            <div class="plot-container">
                <img src="data:image/png;base64,{{ plot2 }}" alt="Plot 2">
            </div>
        </div>
        <div class="row">
            <!-- Second row -->
            <div class="plot-container">
                <img src="data:image/png;base64,{{ plot3 }}" alt="Plot 3">
            </div>
            <div class="plot-container">
                <img src="data:image/png;base64,{{ plot4 }}" alt="Plot 4">
            </div>
        </div>
        <div class="row">
            <!-- Third row -->
            <div class="plot-container">
                <img src="data:image/png;base64,{{ plot5 }}" alt="Plot 5">
            </div>
            <div class="plot-container">
                <img src="data:image/png;base64,{{ plot6 }}" alt="Plot 6">
            </div>
        </div>
        <div class="row">
            <!-- Fourth row -->
            <div class="plot-container">
                <img src="data:image/png;base64,{{ plot7 }}" alt="Plot 7">
            </div>
            <div class="plot-container">
                <img src="data:image/png;base64,{{ plot8 }}" alt="Plot 8">
            </div>
            
        </div>
    </div>
    <br>
    <div class="buttons">
        <button onclick="window.location.href='/vehicle_insurance'">Back</button>
    </div>
</body>
</html>