Use localhost with 80 port, count errors as well

This commit is contained in:
Vladimir Repin
2022-11-14 14:55:39 +03:00
parent 0646040667
commit 7416ac8d3c
6 changed files with 17 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ import requests
class TestTxt2ImgWorking(unittest.TestCase):
def setUp(self):
self.url_txt2img = "http://127.0.0.1:7860/sdapi/v1/txt2img"
self.url_txt2img = "http://localhost:80/sdapi/v1/txt2img"
self.simple_txt2img = {
"enable_hr": False,
"denoising_strength": 0,