phonemizer-eus-esp / prepare.sh
Ander Arriandiaga
Initial commit for Hugging Face Space
a7c0c81
raw
history blame
513 Bytes
#!/usr/bin/env bash
set -euo pipefail
echo "Preparing phonemizer workspace..."
# Make sure executable bit is set if present
if [ -f "modulo1y2/modulo1y2" ]; then
chmod +x modulo1y2/modulo1y2 || true
echo "Ensured modulo1y2/modulo1y2 is executable."
else
echo "Warning: modulo1y2/modulo1y2 not found. If you plan to ship the binary, add it to the repo."
fi
echo "Preparation complete. To run locally:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py
"