Spaces:
Runtime error
Runtime error
| 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 | |
| " | |