@@ -6,16 +6,16 @@ set -o pipefail
66
77SCRIPT_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd -P)
88
9- MODELS=" ${SNAP_DATA } /models/openvino-models"
10- MUSICGEN_TMP=" ${SNAP_DATA } /tmp/musicgen_tmp"
9+ MODELS=" ${SNAP_COMMON } /models/openvino-models"
10+ MUSICGEN_TMP=" ${SNAP_COMMON } /tmp/musicgen_tmp"
1111MUSICGEN=" ${MODELS} /musicgen"
12- WHISPER_TMP=" ${SNAP_DATA } /tmp/whisper_tmp"
12+ WHISPER_TMP=" ${SNAP_COMMON } /tmp/whisper_tmp"
1313WHISPER=" ${MODELS} "
14- SEPARATION_TMP=" ${SNAP_DATA } /tmp/separation_tmp"
14+ SEPARATION_TMP=" ${SNAP_COMMON } /tmp/separation_tmp"
1515SEPARATION=" ${MODELS} "
16- SUPPRESSION_TMP=" ${SNAP_DATA } /tmp/suppression_tmp"
16+ SUPPRESSION_TMP=" ${SNAP_COMMON } /tmp/suppression_tmp"
1717SUPPRESSION=" ${MODELS} "
18- RESOLUTION_TMP=" ${SNAP_DATA } /tmp/resolution_tmp"
18+ RESOLUTION_TMP=" ${SNAP_COMMON } /tmp/resolution_tmp"
1919RESOLUTION=" ${MODELS} /audiosr"
2020
2121usage () {
@@ -24,7 +24,7 @@ Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-b]
2424
2525Manage the installation of OpenVINO™ AI models for Audacity.
2626
27- This command must be run with sudo as it installs models to ${SNAP_DATA } , where write access
27+ This command must be run with sudo as it installs models to ${SNAP_COMMON } , where write access
2828is only permitted for the root user.
2929
3030Available options:
@@ -171,6 +171,7 @@ Downloading Super Resolution models from Hugging Face. Please be patient!
171171 "
172172 silent git clone https://huggingface.co/Intel/versatile_audio_super_resolution_openvino " ${RESOLUTION_TMP} "
173173 cd " ${RESOLUTION_TMP} "
174+ silent git checkout 9a97d7f128b22aea72e92862a3eccc310f88ac26
174175 silent git lfs install
175176 silent git lfs pull
176177 mkdir -p " ${RESOLUTION} "
244245
245246if [ " ${SNAP_UID} " -ne 0 ]; then
246247 >&2 echo "
247- This tool installs models to ${SNAP_DATA} ,
248+ This tool installs models to ${SNAP_COMMON} ,
248249where write access is only permitted for the root user.
249250Please re-run the command with sudo:
250251
0 commit comments