Spaces:
Runtime error
Runtime error
cleaning up
Browse files- pag/monitor.py +1 -1
pag/monitor.py
CHANGED
|
@@ -391,7 +391,7 @@ def monitor_fields():
|
|
| 391 |
crop = "Wheat"
|
| 392 |
|
| 393 |
try:
|
| 394 |
-
prompt = "given the ndvi values weekly for the next 30 weeks, comment if they are appropriate to grow {crop} (write one paragraph showing your conclusion): NDVI values:{predictions}"
|
| 395 |
response = client.chat.completions.create(
|
| 396 |
model="gpt-4o",
|
| 397 |
messages=[
|
|
|
|
| 391 |
crop = "Wheat"
|
| 392 |
|
| 393 |
try:
|
| 394 |
+
prompt = f"given the ndvi values weekly for the next 30 weeks, comment if they are appropriate to grow {crop} (write one paragraph showing your conclusion): NDVI values:{predictions}"
|
| 395 |
response = client.chat.completions.create(
|
| 396 |
model="gpt-4o",
|
| 397 |
messages=[
|