ysharma HF Staff commited on
Commit
a57efdb
Β·
verified Β·
1 Parent(s): 2fa0c1f

Update certificate_upload_module.py

Browse files
Files changed (1) hide show
  1. certificate_upload_module.py +2 -6
certificate_upload_module.py CHANGED
@@ -218,11 +218,7 @@ def check_certificate_dataset_health():
218
  return False
219
 
220
 
221
- # Health check on import
222
  logger.info("πŸš€ MCP Birthday Certificate Upload Module Initialized")
223
  logger.info(f"πŸ“Š Target Dataset: {CERTIFICATE_DATASET_NAME} (PUBLIC)")
224
-
225
- if check_certificate_dataset_health():
226
- logger.info("βœ… Certificate dataset is healthy and ready")
227
- else:
228
- logger.warning("⚠️ Certificate dataset health warnings detected")
 
218
  return False
219
 
220
 
221
+ # Health check function available but NOT run on import to avoid loading delays
222
  logger.info("πŸš€ MCP Birthday Certificate Upload Module Initialized")
223
  logger.info(f"πŸ“Š Target Dataset: {CERTIFICATE_DATASET_NAME} (PUBLIC)")
224
+ # Note: Health check moved to on-demand - call check_certificate_dataset_health() manually if needed