Spaces:
Sleeping
Sleeping
Download templates/index.html from dilpreet77/Crop_Recommendation: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/spaces/dilpreet77/Crop_Recommendation/resolve/377de152f472277ad2f67ef4aa3845ca0389c6e3/templates/index.html
- Command line
-
hf download hf://spaces/dilpreet77/Crop_Recommendation@377de152f472277ad2f67ef4aa3845ca0389c6e3/templates/index.html
-
curl -L -o index.html https://huggingface.co/spaces/dilpreet77/Crop_Recommendation/resolve/377de152f472277ad2f67ef4aa3845ca0389c6e3/templates/index.html
1.65 kB
| <html> | |
| <head> | |
| <title>Crop Recommendation System</title> | |
| <style> | |
| body { | |
| font-family: Arial; | |
| background: #eef2f3; | |
| padding: 30px; | |
| } | |
| .container { | |
| background: white; | |
| padding: 25px; | |
| width: 400px; | |
| margin: auto; | |
| border-radius: 12px; | |
| box-shadow: 0px 0px 10px gray; | |
| } | |
| input { | |
| width: 100%; | |
| padding: 10px; | |
| margin: 8px 0; | |
| } | |
| button { | |
| width: 100%; | |
| padding: 12px; | |
| background: green; | |
| color: white; | |
| border: none; | |
| cursor: pointer; | |
| border-radius: 6px; | |
| } | |
| button:hover { | |
| background: darkgreen; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h2 align="center">Crop Recommendation System</h2> | |
| <form action="/predict" method="POST"> | |
| <label>N (Nitrogen)</label> | |
| <input type="text" name="N" required> | |
| <label>P (Phosphorus)</label> | |
| <input type="text" name="P" required> | |
| <label>K (Potassium)</label> | |
| <input type="text" name="K" required> | |
| <label>Temperature</label> | |
| <input type="text" name="temperature" required> | |
| <label>Humidity</label> | |
| <input type="text" name="humidity" required> | |
| <label>pH Value</label> | |
| <input type="text" name="ph" required> | |
| <label>Rainfall</label> | |
| <input type="text" name="rainfall" required> | |
| <button type="submit">Predict Crop</button> | |
| </form> | |
| </div> | |
| </body> | |
| </html> | |