httpsAkayush commited on
Commit
bb6b4a3
·
1 Parent(s): 3b0f265
Files changed (1) hide show
  1. app.py +13 -9
app.py CHANGED
@@ -507,6 +507,10 @@ class SystemStatusResponse(BaseModel):
507
  data_loaded: bool
508
  available_crops: List[str]
509
 
 
 
 
 
510
  # Initialize advisor with error handling
511
  logger.info("🚀 Initializing Agricultural Advisor...")
512
  try:
@@ -571,15 +575,15 @@ async def root():
571
  <div class="example">
572
  <strong>Example Request:</strong>
573
  <pre>{
574
- "crop": "rice",
575
- "N": 80,
576
- "P": 40,
577
- "K": 67,
578
- "temperature": 25,
579
- "humidity": 60,
580
- "pH": 7.0,
581
- "rainfall": 200
582
- }</pre>
583
  </div>
584
  </div>
585
 
 
507
  data_loaded: bool
508
  available_crops: List[str]
509
 
510
+ model_config = {
511
+ "protected_namespaces": ()
512
+ }
513
+
514
  # Initialize advisor with error handling
515
  logger.info("🚀 Initializing Agricultural Advisor...")
516
  try:
 
575
  <div class="example">
576
  <strong>Example Request:</strong>
577
  <pre>{
578
+ "crop": "rice",
579
+ "N": 80,
580
+ "P": 40,
581
+ "K": 67,
582
+ "temperature": 25,
583
+ "humidity": 60,
584
+ "pH": 7.0,
585
+ "rainfall": 200
586
+ }</pre>
587
  </div>
588
  </div>
589