CurryModel / api.py

Commit History

  1. Refactor API structure by consolidating model, prediction, and scraping functionalities into utility modules; update requirements.txt to streamline dependencies; enhance prediction endpoint to utilize new utility functions for improved maintainability and clarity.

    5bbd2ed
  2. Implement data scraping and processing functionality in api.py; add team mapping and data formatting methods; enhance save_data function to check for existing data before upload; update requirements.txt to include BeautifulSoup and tqdm; adjust execution counts in curry_scraper.ipynb for consistency.

    2ed76e4

  1. Add Supabase integration to log predictions in api.py; update requirements.txt to include supabase and python-dotenv; modify curry_scraper.ipynb execution counts and add alternate team identifiers.

    4f9763a
  2. Refactor prediction endpoint to load dataset from Hugging Face and update request schema in api.py; add ipykernel to development dependencies in Pipfile; modify curry_scraper.ipynb to include Hugging Face upload functionality.

    9a7b451

  1. Refactor dataset loading in prediction endpoint to use local CSV file

    f25b16f
  2. Update dataset loading in API to use local CSV file

    3f67e51
  3. Add datasets library and update prediction endpoint to load dataset from Hugging Face

    e314486
  4. Remove uvicorn run command from api.py and add dataset loading example in curry_model.ipynb

    aa0f6b7
  5. Add huggingface_hub to requirements and update model loading in API

    edc2dac
  6. Add Docker support and enhance LSTM model with bidirectional layers and dropout

    a5261b9
  7. working on CI/CD

    6ef0118
  8. init

    fa936e9