Spaces:
Sleeping

epl-predictor-api / scripts /ingest_player_minutes.py
otito254's picture
feat: initial deploy with bundled models
43280d3
Raw History Blame Contribute Delete
345 Bytes
import sys, os
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from app.services.understat_player_service import ingest_all_player_minutes
import logging
logging.basicConfig(level=logging.INFO)
if __name__ == "__main__":
ingest_all_player_minutes()
print("✅ All player minutes ingested from Understat")