From 7cb82080655f5268ad45a5c75d25e94402e21f65 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Mon, 9 Oct 2023 02:28:20 -0500 Subject: [PATCH] use default python and pip (#178) --- assembly/bin/supersonic-build.sh | 2 +- assembly/bin/supersonic-daemon.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assembly/bin/supersonic-build.sh b/assembly/bin/supersonic-build.sh index 9cc2aa857..f09043f3f 100755 --- a/assembly/bin/supersonic-build.sh +++ b/assembly/bin/supersonic-build.sh @@ -3,7 +3,7 @@ set -x # pip path -pip_path=${PIP_PATH:-"/usr/local/bin/pip3"} +pip_path=${PIP_PATH:-"pip3"} sbinDir=$(cd "$(dirname "$0")"; pwd) baseDir=$(cd "$sbinDir/.." && pwd -P) diff --git a/assembly/bin/supersonic-daemon.sh b/assembly/bin/supersonic-daemon.sh index e42d5df05..791fecac3 100755 --- a/assembly/bin/supersonic-daemon.sh +++ b/assembly/bin/supersonic-daemon.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash +python_path=${PYTHON_PATH:-"python3"} set -x -python_path=${PYTHON_PATH:-"/usr/local/bin/python3"} readonly CHAT_APP_NAME="supersonic_chat" readonly SEMANTIC_APP_NAME="supersonic_semantic" readonly LLMPARSER_APP_NAME="supersonic_llmparser"