FunASR-powered video transcription, subtitle generation, and LLM-assisted clipping tool with a local Gradio UI.
Python ai-toolsai-video-editingasrauto-subtitleschinesecontent-creationfunasrfunclipgradiollmparaformerspeech-recognitionspeech-to-textsubtitles-generatortranscriptionvideo-editingvideo-processingvideo-subtitlesvideo-transcriptionwhisper-alternative
Update funasr-runtime-deploy-easytool.sh
seasonaacbb367a6ee
diff --git a/TransAudio/funasr-runtime-deploy-easytool.sh b/TransAudio/funasr-runtime-deploy-easytool.shindex f40d2df..87fb28e 100644--- a/TransAudio/funasr-runtime-deploy-easytool.sh+++ b/TransAudio/funasr-runtime-deploy-easytool.sh@@ -830,22 +830,18 @@ setupHostPort(){setupDockerPort(){echo -e "${UNDERLINE}${BOLD}[5/10]${PLAIN}"- if [ -z "$PARAMS_HOST_PORT" ]; then- params_host_port=`sed '/^PARAMS_HOST_PORT=/!d;s/.*=//' ${FUNASR_CONFIG_FILE}`- if [ -z "$params_host_port" ]; then- PARAMS_HOST_PORT="10095"- else- PARAMS_HOST_PORT=${params_host_port}- fi+ params_host_port=`sed '/^PARAMS_HOST_PORT=/!d;s/.*=//' ${FUNASR_CONFIG_FILE}`+ if [ -z "$params_host_port" ]; then+ PARAMS_HOST_PORT="10095"+ else+ PARAMS_HOST_PORT=${params_host_port}fi- if [ -z "$PARAMS_DOCKER_PORT" ]; then- params_docker_port=`sed '/^PARAMS_DOCKER_PORT=/!d;s/.*=//' ${FUNASR_CONFIG_FILE}`- if [ -z "$params_docker_port" ]; then- PARAMS_DOCKER_PORT="10095"- else- PARAMS_DOCKER_PORT=${params_docker_port}- fi+ params_docker_port=`sed '/^PARAMS_DOCKER_PORT=/!d;s/.*=//' ${FUNASR_CONFIG_FILE}`+ if [ -z "$params_docker_port" ]; then+ PARAMS_DOCKER_PORT="10095"+ else+ PARAMS_DOCKER_PORT=${params_docker_port}fiwhile true