adrienbrdne commited on
Commit
c479d69
·
verified ·
1 Parent(s): 239cd2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -58,6 +58,7 @@ def health_check():
58
  global model, tokenizer
59
  if model is None or tokenizer is None:
60
  success = load_model()
 
61
  if not success:
62
  raise HTTPException(status_code=503, detail="Model not available")
63
  return {"status": "ok", "model": MODEL_NAME}
 
58
  global model, tokenizer
59
  if model is None or tokenizer is None:
60
  success = load_model()
61
+ print("Success")
62
  if not success:
63
  raise HTTPException(status_code=503, detail="Model not available")
64
  return {"status": "ok", "model": MODEL_NAME}