charSLee013
feat: complete Hugging Face Spaces deployment with production-ready CognitiveKernel-Launchpad
1ea26af
raw
history blame contribute delete
378 Bytes
#!/usr/bin/env bash
set -e
# Install Playwright Chromium into the runtime user's cache path so that
# the same path is used at runtime by Playwright default lookup.
export PLAYWRIGHT_BROWSERS_PATH=/home/user/.cache/ms-playwright
# Skip host requirement validation (no root on HF Spaces)
export PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=1
python -m playwright install chromium