diff --git a/test2/predicted_plant_growth.jpg b/test2/predicted_plant_growth.jpg index c5ee5de..a7f4145 100644 Binary files a/test2/predicted_plant_growth.jpg and b/test2/predicted_plant_growth.jpg differ diff --git a/test2/script.py b/test2/script.py index abb8dd2..41d32c8 100644 --- a/test2/script.py +++ b/test2/script.py @@ -200,7 +200,12 @@ class PlantPredictor: uv_effect = "moderate UV maintaining normal leaf texture" # STEP 3C: Create comprehensive prompt combining image + weather analysis - prompt = f"""Transform this {plant_type} showing realistic growth after {plant_conditions['days_analyzed']} days. Current state: {plant_health}. Apply these weather effects: {temp_effect}, {water_effect}, {sun_effect}, and {uv_effect}. Show natural changes in leaf size, color saturation, stem thickness, and overall plant structure while maintaining the original composition and lighting. Weather summary: {plant_conditions['avg_temp_min']}-{plant_conditions['avg_temp_max']}°C, {plant_conditions['total_rain']}mm rain, {plant_conditions['total_sunshine_hours']}h sun""" + + +# // FINAL PROMT HERE FOR PLANT + + + prompt = f"""Transform this {plant_type} showing realistic growth after {plant_conditions['days_analyzed']} days. The plant should still be realistic and its surrounding how it would look like in the real world and a human should be able to say the picture looks normal and only focus on the plant. Current state: {plant_health}. Apply these weather effects: {temp_effect}, {water_effect}, {sun_effect}, and {uv_effect}. Show natural changes in leaf size, color saturation, stem thickness, and overall plant structure while maintaining the original composition and lighting. Weather summary: {plant_conditions['avg_temp_min']}-{plant_conditions['avg_temp_max']}°C, {plant_conditions['total_rain']}mm rain, {plant_conditions['total_sunshine_hours']}h sun""" return prompt, plant_type, plant_health def detect_plant_type(self, image):