MHamzaShahid commited on
Commit
0fe2f4a
·
verified ·
1 Parent(s): 7312c7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import uvicorn
8
  app = FastAPI(title="Crop Yield Predictor API", version="1.0")
9
 
10
  # ✅ Load your trained model
11
- model = joblib.load("CropYeildPredictor.pkl")
12
 
13
  # ✅ Define the expected input schema
14
  class CropInput(BaseModel):
 
8
  app = FastAPI(title="Crop Yield Predictor API", version="1.0")
9
 
10
  # ✅ Load your trained model
11
+ model = joblib.load("CropYieldPredictor.pkl")
12
 
13
  # ✅ Define the expected input schema
14
  class CropInput(BaseModel):