LocalAI/backend/python/huggingface/Makefile
Ettore Di Giacinto ad0e30bca5
refactor: move backends into the backends directory (#1279)
* refactor: move backends into the backends directory

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* refactor: move main close to implementation for every backend

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-11-13 22:40:16 +01:00

18 lines
438 B
Makefile

.PONY: huggingface
huggingface:
@echo "Creating virtual environment..."
@conda env create --name huggingface --file huggingface.yml
@echo "Virtual environment created."
.PONY: run
run:
@echo "Running huggingface..."
bash run.sh
@echo "huggingface run."
# It is not working well by using command line. It only6 works with IDE like VSCode.
.PONY: test
test:
@echo "Testing huggingface..."
bash test.sh
@echo "huggingface tested."