From 99db32b99e008b607b3d23dbc2ecf2eefbd62f1f Mon Sep 17 00:00:00 2001 From: Jiyang Tang Date: Thu, 26 Oct 2023 10:36:30 -0400 Subject: [PATCH] Fix HF model uploading --- egs2/TEMPLATE/s2st1/s2st.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/egs2/TEMPLATE/s2st1/s2st.sh b/egs2/TEMPLATE/s2st1/s2st.sh index c68bd1326f4..fde82ee3c86 100755 --- a/egs2/TEMPLATE/s2st1/s2st.sh +++ b/egs2/TEMPLATE/s2st1/s2st.sh @@ -1662,6 +1662,8 @@ if ! "${skip_upload_hf}"; then espnet_task=S2ST # shellcheck disable=SC2034 task_exp=${s2st_exp} + # shellcheck disable=SC2034 + lang="${tgt_lang}" eval "echo \"$(cat scripts/utils/TEMPLATE_HF_Readme.md)\"" > "${dir_repo}"/README.md this_folder=${PWD}