1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Deploying AI into Production with FastAPI

Connected

अभ्यास

Logging time to load a model

You are building a FastAPI app to classify penguins, and you'd like measure the time it takes to load the model and log it.

निर्देश

100 XP
  • Load the uvicorn error logger.
  • Log the process time to load the model at the INFO level.