forked from hafriedlander/stable-diffusion-grpcserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
9 lines (7 loc) · 860 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
#!/bin/bash
git submodule update --init --recursive
python -m grpc_tools.protoc -Isdgrpcserver/proto -Iapi-interfaces/src/proto --python_out=sdgrpcserver/generated --grpc_python_out=sdgrpcserver/generated api-interfaces/src/proto/engines.proto
python -m grpc_tools.protoc -Isdgrpcserver/proto -Iapi-interfaces/src/proto --python_out=sdgrpcserver/generated --grpc_python_out=sdgrpcserver/generated api-interfaces/src/proto/dashboard.proto
python -m grpc_tools.protoc -Isdgrpcserver/proto -Iapi-interfaces/src/proto --python_out=sdgrpcserver/generated --grpc_python_out=sdgrpcserver/generated api-interfaces/src/proto/completion.proto
# Our generation.proto is adjusted.
python -m grpc_tools.protoc -Isdgrpcserver/proto -Iapi-interfaces/src/proto --python_out=sdgrpcserver/generated --grpc_python_out=sdgrpcserver/generated sdgrpcserver/proto/generation.proto