From fdc4070eb97f5470319dda514d13a83b0f82d600 Mon Sep 17 00:00:00 2001 From: ombhojane Date: Thu, 15 Feb 2024 01:01:28 +0530 Subject: [PATCH] UI enhancements generate page --- static/predict.js | 2 +- templates/generate.html | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/static/predict.js b/static/predict.js index ad71a50..6d4f884 100644 --- a/static/predict.js +++ b/static/predict.js @@ -8,7 +8,7 @@ tailwind.init(); var farmImage = document.getElementById('farmImage'); if (landSize >= 1 && landSize < 10) { - farmImage.src = 'https://github.com/ombhojane/chalokisaanai/blob/main/assets/small.png?raw=true'; + farmImage.src = 'https://i.postimg.cc/RCw9z1Kv/Screenshot-2024-02-14-205114.png'; farmImage.classList.remove('hidden'); } else if (landSize >= 10 && landSize < 20) { farmImage.src = 'https://github.com/ombhojane/chalokisaanai/blob/main/assets/mid.png?raw=true'; diff --git a/templates/generate.html b/templates/generate.html index 83ffbda..ffdb203 100644 --- a/templates/generate.html +++ b/templates/generate.html @@ -14,6 +14,9 @@ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" /> + + +