sid22669 commited on
Commit
81dd9a0
·
verified ·
1 Parent(s): 873da62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,8 +17,10 @@ class InputData(BaseModel):
17
  try:
18
  model = joblib.load('random_forest_model.joblib')
19
  status = 'Loaded'
 
20
  except:
21
  status = "not loaded"
 
22
 
23
  @app.get('/')
24
  def health_check():
 
17
  try:
18
  model = joblib.load('random_forest_model.joblib')
19
  status = 'Loaded'
20
+ print(status)
21
  except:
22
  status = "not loaded"
23
+ print(status)
24
 
25
  @app.get('/')
26
  def health_check():