Spaces:
Runtime error
Runtime error
Download scripts/launch_server.sh from Corvuscorvaly/WhisperLiveKit: direct link, hf CLI and curl.
- Browser
- Download file 741 Bytes
-
https://huggingface.co/spaces/Corvuscorvaly/WhisperLiveKit/resolve/main/scripts/launch_server.sh
- Command line
-
hf download hf://spaces/Corvuscorvaly/WhisperLiveKit/scripts/launch_server.sh
-
curl -L -o launch_server.sh https://huggingface.co/spaces/Corvuscorvaly/WhisperLiveKit/resolve/main/scripts/launch_server.sh
741 Bytes
| # MODEL=projecte-aina/faster-whisper-large-v3-ca-3catparla | |
| # MODEL=projecte-aina/faster-whisper-large-v3-tiny-caesar # works fine | |
| # MODEL=large-v3 | |
| MODEL=large-v2 | |
| PORT=8000 | |
| # MODEL_CASCADED_TRANSLATION=projecte-aina/aina-translator-ca-es | |
| MODEL_CASCADED_TRANSLATION=projecte-aina/aina-translator-ca-en | |
| LANGUAGE=ca # ca | |
| BACKEND="faster-whisper" # "whisper-x" # faster-whisper, whisper-x | |
| cmd="whisperlivekit-server --model $MODEL \ | |
| --port $PORT \ | |
| --model_cascaded_translation $MODEL_CASCADED_TRANSLATION \ | |
| --language $LANGUAGE \ | |
| --backend $BACKEND \ | |
| --buffer_trimming_sec 10" | |
| echo $cmd | |
| eval $cmd |