File size: 487 Bytes
eab2256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: install test train app format verify-live vercel-redirect

install:
	python -m venv .venv && . .venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt

test:
	pytest -q

train:
	python scripts/train.py

app:
	streamlit run app/app.py

format:
        python -m compileall src

verify-live:
        python scripts/check_live_app.py $(if $(URL),--url $(URL),)

vercel-redirect:
        python scripts/update_vercel_redirect.py $(if $(URL),--url $(URL),)