Spaces:
Running on Zero
Running on Zero
Download scripts/inference.sh from linoyts/avatar-generator: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/spaces/linoyts/avatar-generator/resolve/main/scripts/inference.sh
- Command line
-
hf download hf://spaces/linoyts/avatar-generator/scripts/inference.sh
-
curl -L -o inference.sh https://huggingface.co/spaces/linoyts/avatar-generator/resolve/main/scripts/inference.sh
494 Bytes
| # IC-LoRA Voice Cloning Inference | |
| # Usage: bash scripts/inference.sh --voice ref.wav --prompt "A woman speaks..." --output out.wav --lora path/to/lora.safetensors | |
| SCRIPT_DIR="$(cd "$(dirname "$0")/.." && pwd)" | |
| python "$SCRIPT_DIR/src/inference.py" \ | |
| --checkpoint ltx-2.3-22b-dev-audio-only.safetensors \ | |
| --full-checkpoint ltx-2.3-22b-dev.safetensors \ | |
| --cfg-scale 2.5 --stg-scale 1.5 --rescale-scale 0 --modality-scale 1 \ | |
| --duration-multiplier 1.1 \ | |
| --seed 42 \ | |
| "$@" | |