要提交的变更: 新文件: script/SpeakerPoop/LICENSE 新文件: script/SpeakerPoop/README.md 新文件: script/SpeakerPoop/poet_tang/poet.tang.0.json 新文件: script/SpeakerPoop/poop.aup3 新文件: script/SpeakerPoop/poop.py 新文件: script/SpeakerPoop/poop.wav 新文件: script/SpeakerPoop/requirementrs.txt 新文件: script/jbl.sh Signed-off-by: H <huone2019@outlook.com>
27 lines
778 B
Bash
27 lines
778 B
Bash
#!/usr/bin/zsh
|
|
##source /home/h/application/minforge/mambaforge/etc/profile.d/conda.sh
|
|
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
__conda_setup="$('/home/h/application/minforge/mambaforge/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
|
|
|
if [ $? -eq 0 ]; then
|
|
eval "$__conda_setup"
|
|
else
|
|
if [ -f "/home/h/application/minforge/mambaforge/etc/profile.d/conda.sh" ]; then
|
|
. "/home/h/application/minforge/mambaforge/etc/profile.d/conda.sh"
|
|
else
|
|
export PATH="/home/h/application/minforge/mambaforge/bin:$PATH"
|
|
fi
|
|
fi
|
|
unset __conda_setup
|
|
# <<< conda initialize <<<
|
|
|
|
cc=`conda env list |grep jbl`
|
|
if [ -z $cc ] ;then
|
|
conda create --name jb1 --file ./SpeakerPoop/requirementrs.txt
|
|
fi
|
|
|
|
conda activate jbl
|
|
cd ./SpeakerPoop
|
|
python poop.py
|