Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,10 +9,11 @@ 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
|
| 13 |
"Analyze the following image and provide short outputs in a structured format:"
|
| 14 |
-
"1. Soil Type: ,"
|
| 15 |
-
"2.
|
|
|
|
| 16 |
"""
|
| 17 |
|
| 18 |
|
|
|
|
| 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"
|
| 13 |
"Analyze the following image and provide short outputs in a structured format:"
|
| 14 |
+
"1. Soil Type: Sandy/Clayey/Loamy,"
|
| 15 |
+
"2. PH of Soil: ,"
|
| 16 |
+
"3. Moisture in the Soil: ",
|
| 17 |
"""
|
| 18 |
|
| 19 |
|