Diff of /templates/index.html [000000] .. [d366d1]

Switch to unified view

a b/templates/index.html
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
    <meta charset="UTF-8">
5
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
    <title>Image Prediction</title>
7
</head>
8
<body>
9
    <h1>Upload Image for Prediction</h1>
10
    
11
    <!-- Image Upload Form -->
12
    <form action="/predict" method="POST" enctype="multipart/form-data">
13
        <input type="file" name="file" accept="image/*" required>
14
        <button type="submit">Upload Image</button>
15
    </form>
16
17
    {% if prediction %}
18
        <h2>Prediction Result: {{ prediction }}</h2>
19
    {% endif %}
20
    
21
</body>
22
</html>