Spaces:
Sleeping
Sleeping
Update templates/dashboard.html
Browse files- templates/dashboard.html +6 -0
templates/dashboard.html
CHANGED
|
@@ -56,6 +56,12 @@
|
|
| 56 |
<input type="number" step="0.1" name="petal_width" placeholder="Petal Width" required>
|
| 57 |
<button type="submit">Predict</button>
|
| 58 |
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
</section>
|
| 60 |
|
| 61 |
<section class="contact">
|
|
|
|
| 56 |
<input type="number" step="0.1" name="petal_width" placeholder="Petal Width" required>
|
| 57 |
<button type="submit">Predict</button>
|
| 58 |
</form>
|
| 59 |
+
|
| 60 |
+
{% if prediction %}
|
| 61 |
+
<div class="prediction-box">
|
| 62 |
+
The predicted flower species is: <strong>{{ prediction }}</strong>
|
| 63 |
+
</div>
|
| 64 |
+
{% endif %}
|
| 65 |
</section>
|
| 66 |
|
| 67 |
<section class="contact">
|