Spaces:
Sleeping
Sleeping
File size: 856 Bytes
0a5f545 35bf195 |
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 |
<html>
<head>
<title>Flask Iris</title>
</head>
<body>
<h1>Welcome to Predict Page</h1>
<form action="/predictiris" method="POST">
<input type="text" name="sepal_length" placeholder="Sepal Length" required><br><br>
<input type="text" name="sepal_width" placeholder="Sepal Width" required><br><br>
<input type="text" name="petal_length" placeholder="Petal Length" required><br><br>
<input type="text" name="petal_width" placeholder="Petal Width" required><br><br>
<input type="submit" value="Predict">
</form>
{% if pred %}
<div class="prediction">
Prediction: {{ pred }}
</div>
<div class="pred-img">
<img src="/static/images/{{ pred }}.jpg" alt="{{ pred }}">
</div>
{% endif %}
<h3><a href="/">Back to Home</a></h3> <br>
</body>
</html> |