MCPcopy Index your code
hub / github.com/vladmandic/sdnext / Server

Class Server

cli/api-grid.py:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29@dataclass
30class Server: # set server and save options here or use command line arguments
31 url: str = 'http://127.0.0.1:7860'
32 api: str = '/sdapi/v1/txt2img'
33 user: str = None
34 password: str = None
35 folder: str = '/tmp'
36 name: str = str(round(time.time()))
37 images: bool = False
38 grids: bool = False
39 labels: bool = False
40
41
42logging.basicConfig(level = logging.INFO, format = '%(asctime)s %(levelname)s: %(message)s')

Callers 1

api-grid.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected