Spaces:
Running
Running
Create form.html
Browse files
form.html
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
<head> <title> AIML -Form </title></head>
|
| 6 |
+
<body>
|
| 7 |
+
<H1> IRIS Flower Classification</H1>
|
| 8 |
+
<form action="/predict" method="post">
|
| 9 |
+
<table>
|
| 10 |
+
<tr>
|
| 11 |
+
<td> Sepal Length </td> <td> <input type="text" name="sl"> </td>
|
| 12 |
+
</tr>
|
| 13 |
+
<tr>
|
| 14 |
+
<td> Sepal Width </td> <td> <input type="text" name="sw"> </td>
|
| 15 |
+
</tr>
|
| 16 |
+
<tr>
|
| 17 |
+
<td> Petal Length </td> <td> <input type="text" name="pl"> </td>
|
| 18 |
+
</tr>
|
| 19 |
+
<tr>
|
| 20 |
+
<td> Petal Width </td> <td> <input type="text" name="pw"> </td>
|
| 21 |
+
</tr>
|
| 22 |
+
<tr> <td> <input type="submit"> </td></tr>
|
| 23 |
+
</table>
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
{% if result %}
|
| 28 |
+
<p> Predicted Flower type is {{result}} </p>
|
| 29 |
+
{% endif %}
|
| 30 |
+
</form>
|
| 31 |
+
</body>
|
| 32 |
+
</html>
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|