Skip to content

Commit

Permalink
fix(scripts): pass protocol and port to all test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Mar 1, 2023
1 parent bf6cf4c commit b44e644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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&'\
Expand Down

0 comments on commit b44e644

Please sign in to comment.