Skip to content

Set up GitHub action to create the model (#1) #9

Set up GitHub action to create the model (#1)

Set up GitHub action to create the model (#1) #9

Workflow file for this run

name: Train and Export Model
on:
push:
paths:
- train.py
- requirements.txt
jobs:
train:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run training script
run: python train.py