diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-30 05:28:36 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-30 05:28:36 +0000 |
commit | 5a6e0cfba675c0f11ade7124cbeec1356c77beb2 (patch) | |
tree | f5d3b63e63f88a0c2d8ffa41e21b9c778fd3afb9 | |
parent | 59dfe0845d964868e92572c78a420b6d68c46ea4 (diff) | |
download | stable-diffusion-webui-gfx803-5a6e0cfba675c0f11ade7124cbeec1356c77beb2.tar.gz stable-diffusion-webui-gfx803-5a6e0cfba675c0f11ade7124cbeec1356c77beb2.tar.bz2 stable-diffusion-webui-gfx803-5a6e0cfba675c0f11ade7124cbeec1356c77beb2.zip |
always add --api when running tests
-rw-r--r-- | launch.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -202,6 +202,9 @@ def prepare_enviroment(): def tests(argv):
+ if "--api" not in argv:
+ argv.append("--api")
+
print(f"Launching Web UI in another process for testing with arguments: {' '.join(argv[1:])}")
with open('test/stdout.txt', "w", encoding="utf8") as stdout, open('test/stderr.txt', "w", encoding="utf8") as stderr:
|