vits-v2-8khz-inference / activate_env.sh
AlexK-PL's picture
Create activate_env.sh
9f88f70 verified
raw
history blame
572 Bytes
#!/bin/bash
# Load the Python module, if needed (this might be specific to your cluster setup and might not be needed in Docker)
# module load python/3.9.9
# Activate the Python virtual environment
source /workspace/env/bin/activate
# Set custom Python path
export PYTHON="/workspace/env/bin/python"
# Set path to eSpeak data
export ESPEAK_DATA_PATH="/workspace/espeak-ng/espeak-ng-data"
# Add eSpeak library to library path
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/workspace/espeak-ng/lib"
# Add eSpeak binaries to PATH
export PATH="/workspace/espeak-ng/bin:$PATH"