mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
(improvement)(Chat) Move python module from Chat To Headless (#823)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -40,7 +40,7 @@ move webapp ..\..\launchers\standalone\target\classes
|
|||||||
rem 5. build backend python modules
|
rem 5. build backend python modules
|
||||||
if "%service%"=="pyllm" (
|
if "%service%"=="pyllm" (
|
||||||
echo "start installing python modules with pip: ${pip_path}"
|
echo "start installing python modules with pip: ${pip_path}"
|
||||||
set requirementPath="%baseDir%/../chat/python/requirements.txt"
|
set requirementPath="%baseDir%/../headless/python/requirements.txt"
|
||||||
%pip_path% install -r %requirementPath%
|
%pip_path% install -r %requirementPath%
|
||||||
echo "install python modules success"
|
echo "install python modules success"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ rm -fr ${buildDir}/webapp
|
|||||||
#5. build backend python modules
|
#5. build backend python modules
|
||||||
if [ "$service" == "pyllm" ]; then
|
if [ "$service" == "pyllm" ]; then
|
||||||
echo "start installing python modules with pip: ${pip_path}"
|
echo "start installing python modules with pip: ${pip_path}"
|
||||||
requirementPath=$baseDir/../chat/python/requirements.txt
|
requirementPath=$baseDir/../headless/python/requirements.txt
|
||||||
${pip_path} install -r ${requirementPath}
|
${pip_path} install -r ${requirementPath}
|
||||||
echo "install python modules success"
|
echo "install python modules success"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user