Spaces:
Runtime error
Runtime error
Download idl/makefile from expressapi/chroma: direct link, hf CLI and curl.
- Browser
- Download file 910 Bytes
-
https://huggingface.co/spaces/expressapi/chroma/resolve/main/idl/makefile
- Command line
-
hf download hf://spaces/expressapi/chroma/idl/makefile
-
curl -L -o makefile https://huggingface.co/spaces/expressapi/chroma/resolve/main/idl/makefile
910 Bytes
| .PHONY: proto | |
| proto_python: | |
| @echo "Generating gRPC code for python..." | |
| @python -m grpc_tools.protoc -I ./ --python_out=. --pyi_out=. --grpc_python_out=. ./chromadb/proto/*.proto | |
| @mv chromadb/proto/*.py ../chromadb/proto/ | |
| @mv chromadb/proto/*.pyi ../chromadb/proto/ | |
| @echo "Done" | |
| proto_go: | |
| @echo "Generating gRPC code for golang..." | |
| @protoc \ | |
| --go_out=../go/coordinator/internal/proto/coordinatorpb \ | |
| --go_opt paths=source_relative \ | |
| --plugin protoc-gen-go="${GOPATH}/bin/protoc-gen-go" \ | |
| --go-grpc_out=../go/coordinator/internal/proto/coordinatorpb \ | |
| --go-grpc_opt paths=source_relative \ | |
| --plugin protoc-gen-go-grpc="${GOPATH}/bin/protoc-gen-go-grpc" \ | |
| chromadb/proto/*.proto | |
| @mv ../go/coordinator/internal/proto/coordinatorpb/chromadb/proto/*.go ../go/coordinator/internal/proto/coordinatorpb/ | |
| @rm -rf ../go/coordinator/internal/proto/coordinatorpb/chromadb | |
| @echo "Done" | |