Spaces:
Build error
Build error
File size: 3,348 Bytes
05355ae |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
{% extends 'layout.html' %} {% block body %}
<style>
html body {
background-color: rgb(206, 206, 228);
}
</style>
<!--Form Section-->
<br /><br />
<h2 style="text-align: center; margin: 0px; color: black">
<b>Get informed advice on fertilizer based on soil</b>
</h2>
<br />
<div
style="
width: 350px;
height: 40rem;
margin: 0px auto;
color: black;
border-radius: 25px;
padding: 10px 10px;
"
>
<form method="POST" action="{{ url_for('fert_recommend') }}">
<div class="form-group">
<label for="Nitrogen" style="font-size: 17px"><b>Nitrogen</b></label>
<input
type="number"
class="form-control"
id="Nitrogen"
name="nitrogen"
placeholder="Enter the value (example:50)"
style="font-weight: bold"
required
/>
</div>
<div class="form-group">
<label for="Phosphorous" style="font-size: 17px"
><b>Phosphorous</b></label
>
<input
type="number"
class="form-control"
id="Phosphorous"
name="phosphorous"
placeholder="Enter the value (example:50)"
style="font-weight: bold"
required
/>
</div>
<div class="form-group">
<label for="Pottasium" style="font-size: 17px"><b>Pottasium</b></label>
<input
type="number"
class="form-control"
id="Pottasium"
name="pottasium"
placeholder="Enter the value (example:50)"
style="font-weight: bold"
required
/>
</div>
<!-- <div class="form-group">
<label for="ph" style="font-size: 17px"><b>ph level</b></label>
<input
type="text"
class="form-control"
id="ph"
name="ph"
placeholder="Enter the value"
style="font-weight: bold"
required
/>
</div> -->
<div class="form-group">
<label for="crop" style="font-size: 17px"
><b>Crop you want to grow</b></label
>
<select
name="cropname"
class="form-control"
id="crop"
placeholder="Select a crop"
style="font-weight: bold"
required
>
<option selected>Select crop</option>
<option>rice</option>
<option>maize</option>
<option>chickpea</option>
<option>kidneybeans</option>
<option>pigeonpeas</option>
<option>mothbeans</option>
<option>mungbean</option>
<option>blackgram</option>
<option>lentil</option>
<option>pomegranate</option>
<option>banana</option>
<option>mango</option>
<option>grapes</option>
<option>watermelon</option>
<option>muskmelon</option>
<option>apple</option>
<option>orange</option>
<option>papaya</option>
<option>coconut</option>
<option>cotton</option>
<option>jute</option>
<option>coffee</option>
</select>
</div>
<div class="d-flex justify-content-center">
<button
type="submit"
class="btn btn-info"
style="
color: black;
font-weight: bold;
width: 130px;
height: 50px;
border-radius: 12px;
font-size: 21px;
"
>
Predict
</button>
</div>
</form>
</div>
{% endblock %}
|