Anmol58 commited on
Commit
be2b2e1
·
verified ·
1 Parent(s): e44c666

Update template/index.html

Browse files
Files changed (1) hide show
  1. template/index.html +20 -0
template/index.html CHANGED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Iris Prediction</title>
5
+ </head>
6
+ <body>
7
+ <h2>Iris Flower Prediction</h2>
8
+ <form action="/predict" method="post">
9
+ Sepal Length: <input type="text" name="sepal_length"><br>
10
+ Sepal Width: <input type="text" name="sepal_width"><br>
11
+ Petal Length: <input type="text" name="petal_length"><br>
12
+ Petal Width: <input type="text" name="petal_width"><br>
13
+ <input type="submit" value="Predict">
14
+ </form>
15
+
16
+ {% if result is defined %}
17
+ <h3>Predicted Class: {{ result }}</h3>
18
+ {% endif %}
19
+ </body>
20
+ </html>