File size: 454 Bytes
495526b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PYTHON ?= python
# Project root needs to be on PYTHONPATH because the directory name contains spaces.
export PYTHONPATH := $(CURDIR)

.PHONY: data train evaluate test lint api demo collect

collect:
	$(PYTHON) scripts/collect_data.py

data:
	$(PYTHON) dataset_builder.py

train:
	$(PYTHON) train.py

evaluate:
	$(PYTHON) evaluate.py

test:
	pytest -q

lint:
	ruff check .

api:
	uvicorn backend.app.main:app --reload --port 8000

demo:
	$(PYTHON) app.py