huggingface-demo / Makefile
Andrea Greco
summarization test
23c0e5b
raw
history blame contribute delete
286 Bytes
install:
pip install --upgrade pip &&\
pip install -r requirements.txt
test:
python -m pytest -vv test_main.py
format:
black *.py
run:
python app.py
run-uvicorn:
uvicorn main:app --reload
killweb:
sudo killall uvicorn
lint:
pylint --disable=R,C main.py
all: install lint