Mehulgarg commited on
Commit
ef5a3ac
1 Parent(s): df96220

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +14 -1
templates/index.html CHANGED
@@ -11,7 +11,7 @@
11
  form {text-align: center;}
12
  </style>
13
  <body>
14
- <form action="/Predict" method="POST">
15
  <img src="https://th.bing.com/th/id/OIP.wA8IT2VBm3nE6FFe-rijQwHaHa?w=181&h=182&c=7&r=0&o=5&pid=1.7">
16
  <h1>
17
  {{p}}
@@ -31,5 +31,18 @@
31
 
32
  <input type="submit" value="Submit">
33
  </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  </body>
35
  </html>
 
11
  form {text-align: center;}
12
  </style>
13
  <body>
14
+ <form action="/irisf" method="POST">
15
  <img src="https://th.bing.com/th/id/OIP.wA8IT2VBm3nE6FFe-rijQwHaHa?w=181&h=182&c=7&r=0&o=5&pid=1.7">
16
  <h1>
17
  {{p}}
 
31
 
32
  <input type="submit" value="Submit">
33
  </form>
34
+
35
+ <div> The Flower Name is: </div>
36
+ <div align="center"> {{data}} </div>
37
+ <center>
38
+ {% if data=="Iris-setosa" %}
39
+ <img src="https://cdn.glitch.global/8599b2d2-58ab-4d42-98f5-97fa4c6bad04/Iris%20Setosa.png?v=1680866840563" alt="IRIS SETOSA" width="200" height="200">
40
+ {% elif data=="Iris-versicolor" %}
41
+ <img src="https://cdn.glitch.global/8599b2d2-58ab-4d42-98f5-97fa4c6bad04/Iris%20versicolor.png?v=1680866854461" alt="IRIS VERSICOLOR" width="200" height="200">
42
+ {% elif data=="Iris-virginica" %}
43
+ <img src="https://cdn.glitch.global/8599b2d2-58ab-4d42-98f5-97fa4c6bad04/Iris%20Virginica.png?v=1680866857022" alt="IRIS VIRGINICA" width="200" height="200">
44
+ {% endif %}
45
+ </center>
46
+
47
  </body>
48
  </html>