Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,6 @@ class SpeciesResult(BaseModel):
|
|
| 82 |
class BloomPredictionResponse(BaseModel):
|
| 83 |
success: bool
|
| 84 |
status: str # "BLOOM_DETECTED", "NO_BLOOM", "LOW_CONFIDENCE"
|
| 85 |
-
requested_date: str
|
| 86 |
|
| 87 |
# Only include these if there's a valid bloom season
|
| 88 |
peak_month: Optional[int] = None
|
|
@@ -94,8 +93,6 @@ class BloomPredictionResponse(BaseModel):
|
|
| 94 |
|
| 95 |
# Simplified monthly data (probabilities only)
|
| 96 |
monthly_probabilities: Dict[int, float]
|
| 97 |
-
|
| 98 |
-
processing_time: float
|
| 99 |
|
| 100 |
# ------------------------------
|
| 101 |
# Globals & cache
|
|
|
|
| 82 |
class BloomPredictionResponse(BaseModel):
|
| 83 |
success: bool
|
| 84 |
status: str # "BLOOM_DETECTED", "NO_BLOOM", "LOW_CONFIDENCE"
|
|
|
|
| 85 |
|
| 86 |
# Only include these if there's a valid bloom season
|
| 87 |
peak_month: Optional[int] = None
|
|
|
|
| 93 |
|
| 94 |
# Simplified monthly data (probabilities only)
|
| 95 |
monthly_probabilities: Dict[int, float]
|
|
|
|
|
|
|
| 96 |
|
| 97 |
# ------------------------------
|
| 98 |
# Globals & cache
|