lodhrangpt commited on
Commit
7643c55
·
verified ·
1 Parent(s): 1191499

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -9,15 +9,10 @@ from dotenv import load_dotenv
9
  load_dotenv()
10
  genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
11
  input_prompt="""
12
- You are an expert in computer vision and soil analysis who can easily predict the quality and condition of soil."
13
- "Analyze the following image and provide 7 short outputs in a structured format:"
14
  "1. Soil Type: ,"
15
- "2. Quality (Good or Poor): ,"
16
- "3. Possible Issues (if any): ,"
17
- "4. Confidence Level out of 100% whether the soil is healthy or degraded: ,"
18
- "5. Reason for the issue (such as nutrient deficiency, waterlogging, soil compaction, etc.): ,"
19
- "6. Soil Moisture Level: ,"
20
- "7. Recommended Treatment (fertilizers, compost, irrigation advice, etc.):"
21
  """
22
 
23
 
 
9
  load_dotenv()
10
  genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
11
  input_prompt="""
12
+ You are an expert in computer vision and soil analysis who can easily predict the type of soil."
13
+ "Analyze the following image and provide short outputs in a structured format:"
14
  "1. Soil Type: ,"
15
+ "2. Best for Crop: ,"
 
 
 
 
 
16
  """
17
 
18