simar007 commited on
Commit
a4fba3d
·
verified ·
1 Parent(s): 75ddc81

Update templates/dashboard.html

Browse files
Files changed (1) hide show
  1. 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">