| {% extends "base.html" %} |
| {% block bodyblock %} |
|
|
| <title>Prediction Result</title> |
| <style> |
| body { font-family: Arial, sans-serif; text-align: center; margin: 50px; } |
| img { max-width: 300px; height: auto; border-radius: 10px; } |
| .container { display: flex; flex-direction: column; align-items: center; } |
| .prediction { font-size: 24px; font-weight: bold; margin-top: 20px; } |
| .btn { text-decoration: none; background: #007BFF; color: white; padding: 10px 20px; border-radius: 5px; } |
| </style> |
| </head> |
| <body> |
|
|
| <div class="container"> |
| <h1>Prediction Result</h1> |
| <img src="{{ url_for('static', filename='Upload/' + filename) }}" alt="Uploaded Image" width="300"> |
| <p class="prediction">Predicted Breed: <strong>{{ prediction }}</strong></p> |
| <a href="{{ url_for('Home') }}" class="btn">Upload Another Image</a> |
| </div> |
| {% endblock %} |
|
|