Download Run-CROSSWIRE.ps1 from Kai9987kai/CROSSWIRE: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/Kai9987kai/CROSSWIRE/resolve/main/Run-CROSSWIRE.ps1
- Command line
-
hf download hf://Kai9987kai/CROSSWIRE/Run-CROSSWIRE.ps1
-
curl -L -o Run-CROSSWIRE.ps1 https://huggingface.co/Kai9987kai/CROSSWIRE/resolve/main/Run-CROSSWIRE.ps1
330 Bytes
| param([int]$Port = 8781) | |
| $ErrorActionPreference = 'Stop' | |
| $taskPython = Join-Path $PSScriptRoot '.venv\Scripts\python.exe' | |
| if (-not (Test-Path -LiteralPath $taskPython)) { $taskPython = 'python' } | |
| Push-Location -LiteralPath $PSScriptRoot | |
| try { & $taskPython -m crosswire serve --port $Port --open } | |
| finally { Pop-Location } | |