Spaces:
Running
Running
Commit ·
a161996
1
Parent(s): d6e710b
Update index.html
Browse files- index.html +35 -18
index.html
CHANGED
|
@@ -1,19 +1,36 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html >
|
| 3 |
+
<!--From https://codepen.io/frytyler/pen/EGdtg-->
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<title>ML API</title>
|
| 7 |
+
<link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
|
| 8 |
+
<link href='https://fonts.googleapis.com/css?family=Arimo' rel='stylesheet' type='text/css'>
|
| 9 |
+
<link href='https://fonts.googleapis.com/css?family=Hind:300' rel='stylesheet' type='text/css'>
|
| 10 |
+
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
|
| 11 |
+
|
| 12 |
+
</head>
|
| 13 |
+
|
| 14 |
+
<body>
|
| 15 |
+
<div class="login">
|
| 16 |
+
<h1>Flower Class Prediction</h1>
|
| 17 |
+
|
| 18 |
+
<!-- Main Input For Receiving Query to our ML -->
|
| 19 |
+
<form action="{{ url_for('predict')}}"method="post">
|
| 20 |
+
<input type="text" name="Sepal_Length" placeholder="Sepal_Length" required="required" />
|
| 21 |
+
<input type="text" name="Sepal_Width" placeholder="Sepal_Width" required="required" />
|
| 22 |
+
<input type="text" name="Petal_Length" placeholder="Petal_Length" required="required" />
|
| 23 |
+
<input type="text" name="Petal_Width" placeholder="Petal_Width" required="required" />
|
| 24 |
+
|
| 25 |
+
<button type="submit" class="btn btn-primary btn-block btn-large">Predict</button>
|
| 26 |
+
</form>
|
| 27 |
+
|
| 28 |
+
<br>
|
| 29 |
+
<br>
|
| 30 |
+
{{ prediction_text }}
|
| 31 |
+
|
| 32 |
+
</div>
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
</body>
|
| 36 |
+
</html>
|