mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
18 lines
438 B
Makefile
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."
|