--- a +++ b/index.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> + <link rel="stylesheet" href="{{ url_for('static', filename='css/style-prediction.css') }}"> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" + integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> +</head> + +<body> + + <div class="content"> + <div class="center"> + <h1>Prediction: {{label}}</h1> + <!-- <br> Probability: {{accuracy}}% --> + </div> + + + + <div class="center"> + <img src="{{ url_for('send_file', filename=image_file_name)}}"> + </div> + + <div class="center"> + <a href="/" class="btn btn-secondary btn-lg">Back to Home</a> + </div> + + </div> + +</body> +</html> \ No newline at end of file