Spaces:
Sleeping
Sleeping
File size: 735 Bytes
35bf195 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
<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 prediction %}
<h3>Prediction: {{ prediction }}</h3>
{% endif %}
<h3><a href="/">Back to Home</a></h3> <br>
</body>
</html> |