diff --git a/Makefile b/Makefile index 4c30ee7..82b6f18 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,6 @@ MKL_CLR_RESET?= \033[0m all: rpm rpm: - mkdir -p resources/model - @printf "$(MKL_YELLOW)Downloading the model $(BIN)$(MKL_CLR_RESET)\n" - # curl -L https://huggingface.co/Mozilla/llava-v1.5-7b-llamafile/resolve/main/llava-v1.5-7b-q4.llamafile?download=true -o resources/model/llava-v1.5-7b-q4.llamafile - # @if [ ! -f resources/model/llava-v1.5-7b-q4.llamafile ]; then printf "$(MKL_RED)Model dont downloaded$(MKL_CLR_RESET)\n"; exit 1; fi - @printf "$(MKL_GREEN)Model downloaded successfully$(MKL_CLR_RESET)\n" $(MAKE) -C packaging/rpm rpmtest: diff --git a/VERSION b/VERSION index 6c6aa7c..6da28dd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0 \ No newline at end of file +0.1.1 \ No newline at end of file diff --git a/packaging/rpm/Makefile b/packaging/rpm/Makefile index 331a5b4..73e1392 100644 --- a/packaging/rpm/Makefile +++ b/packaging/rpm/Makefile @@ -15,7 +15,6 @@ SOURCES: mkdir -p SOURCES archive: SOURCES - # cp ../../resources/model/* SOURCES/ cd ../../ && \ git archive --prefix=$(PACKAGE_NAME)-$(VERSION)/ \ -o packaging/rpm/SOURCES/$(PACKAGE_NAME)-$(VERSION).tar.gz HEAD diff --git a/packaging/rpm/redborder-ai.spec b/packaging/rpm/redborder-ai.spec index d34e0e2..066687c 100644 --- a/packaging/rpm/redborder-ai.spec +++ b/packaging/rpm/redborder-ai.spec @@ -22,7 +22,6 @@ Requires: bash mkdir -p %{buildroot}/etc/redborder mkdir -p %{buildroot}/usr/lib/redborder/bin cp resources/bin/* %{buildroot}/usr/lib/redborder/bin -# cp llava* %{buildroot}/usr/lib/redborder/bin chmod 0755 %{buildroot}/usr/lib/redborder/bin/* install -D -m 0644 resources/systemd/llamafile.service %{buildroot}/usr/lib/systemd/system/llamafile.service