diff --git a/api/db/stats.py b/api/db/stats.py index c5ce07b..5f584a3 100644 --- a/api/db/stats.py +++ b/api/db/stats.py @@ -2,6 +2,8 @@ import os import pytz import asyncio import datetime +import json +import time from dotenv import load_dotenv from motor.motor_asyncio import AsyncIOMotorClient diff --git a/api/db/tester.py b/api/db/tester.py new file mode 100644 index 0000000..3048e37 --- /dev/null +++ b/api/db/tester.py @@ -0,0 +1,6 @@ +from stats import * +import asyncio + +manager = StatsManager() + +asyncio.run(manager.get_model_usage())