We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0e740 commit 3123abcCopy full SHA for 3123abc
box/build-runner.sh
@@ -22,8 +22,8 @@ else
22
INFERPY_INITIAL_PARAMS=""
23
if [[ "$PIPELINE" =~ ^streamdiffusion- ]]; then
24
BASE_PIPELINE="streamdiffusion"
25
- FILE_NAME="${PIPELINE//-/_}"
26
- JSON_FILE=./app/live/pipelines/${FILE_NAME}_default_params.json
+ FILE_NAME=$(echo "${PIPELINE#streamdiffusion-}" | tr '-' '_')
+ JSON_FILE=./app/live/pipelines/streamdiffusion/${FILE_NAME}_default_params.json
27
INFERPY_INITIAL_PARAMS=$(tr -d '\n' < "$JSON_FILE")
28
fi
29
docker build -t livepeer/ai-runner:live-base-${BASE_PIPELINE} -f docker/Dockerfile.live-base-${BASE_PIPELINE} .
0 commit comments