diff --git a/api/scripts/test-memory-leak.sh b/api/scripts/test-memory-leak.sh index 41953b4c5..e1ca5f1f8 100755 --- a/api/scripts/test-memory-leak.sh +++ b/api/scripts/test-memory-leak.sh @@ -1,9 +1,9 @@ -test_host="${1:-127.0.0.1}" +test_host="${1:-'http://127.0.0.1:5000'}" test_images=0 while true; do - curl "http://${test_host}:5000/api/txt2img?"\ + curl "${test_host}/api/txt2img?"\ 'cfg=16.00&steps=3&scheduler=ddim&seed=-1&'\ 'prompt=an+astronaut+eating+a+hamburger&negativePrompt=&'\ 'model=stable-diffusion-onnx-v1-5&platform=any&'\