Spaces:
Paused
Paused
Download scripts/endpoint/test.bat from aTrapDeer/Lora-ace-step: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/aTrapDeer/Lora-ace-step/resolve/main/scripts/endpoint/test.bat
- Command line
-
hf download hf://spaces/aTrapDeer/Lora-ace-step/scripts/endpoint/test.bat
-
curl -L -o test.bat https://huggingface.co/spaces/aTrapDeer/Lora-ace-step/resolve/main/scripts/endpoint/test.bat
419 Bytes
| @echo off | |
| setlocal | |
| set "PROMPT=%*" | |
| if not defined PROMPT set "PROMPT=upbeat pop rap with emotional guitar" | |
| set "PROMPT=%PROMPT:"=%" | |
| powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0test.ps1" -Prompt "%PROMPT%" -SimplePrompt -DurationSec 12 -SampleRate 44100 -Seed 42 -GuidanceScale 7.0 -Steps 50 -UseLM 1 -OutFile "test_music.wav" | |
| if errorlevel 1 ( | |
| echo Request failed. | |
| exit /b 1 | |
| ) | |
| echo Done. | |
| endlocal | |