prabh1309 commited on
Commit
1b60299
·
verified ·
1 Parent(s): 7dc2c55

Delete templates

Browse files
Files changed (1) hide show
  1. templates/index.html +0 -43
templates/index.html DELETED
@@ -1,43 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Iris Flower Prediction</title>
5
- </head>
6
- <body>
7
- <h1>Iris Flower Classifier</h1>
8
- <form action="/predict" method="post">
9
- <label>Sepal Length:</label><br>
10
- <input type="text" name="sepal_length" required><br>
11
-
12
- <label>Sepal Width:</label><br>
13
- <input type="text" name="sepal_width" required><br>
14
-
15
- <label>Petal Length:</label><br>
16
- <input type="text" name="petal_length" required><br>
17
-
18
- <label>Petal Width:</label><br>
19
- <input type="text" name="petal_width" required><br><br>
20
-
21
- <input type="submit" value="Predict" style="color:green;">
22
- </form>
23
-
24
- {% if data %}
25
- <div class="result">The Flower Name is: {{ data }}</div>
26
-
27
- {% if data == "setosa" %}
28
- <img src="https://cdn-uploads.huggingface.co/production/uploads/6474405f90330355db146c76/wi5XEAVfDpNnTDM-cFlPE.png" alt="Iris Setosa">
29
- {% elif data == "versicolor" %}
30
- <img src="https://cdn-uploads.huggingface.co/production/uploads/6474405f90330355db146c76/6aXkk_yp48P48-Fse89gY.png" alt="Iris Versicolor">
31
- {% elif data == "virginica" %}
32
- <img src="https://cdn-uploads.huggingface.co/production/uploads/6474405f90330355db146c76/5TvdKlzh0RqGWzQx9dgE3.png" alt="Iris Virginica">
33
- {% else %}
34
- <p>Not Found</p>
35
-
36
- {% endif %}
37
- {% endif %}
38
-
39
-
40
-
41
-
42
- </body>
43
- </html>