mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-09 13:49:48 +00:00
Use localhost with 80 port, count errors as well
This commit is contained in:
@@ -3,7 +3,7 @@ import unittest
|
||||
|
||||
class TestExtrasWorking(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.url_img2img = "http://127.0.0.1:7860/sdapi/v1/extra-single-image"
|
||||
self.url_img2img = "http://localhost:80/sdapi/v1/extra-single-image"
|
||||
self.simple_extras = {
|
||||
"resize_mode": 0,
|
||||
"show_extras_results": True,
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user