mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
add /sdapi/v1/modules endpoint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -35,3 +35,5 @@ def get(endpoint: str, dct: dict = None):
|
||||
if __name__ == "__main__":
|
||||
model = get('/sdapi/v1/checkpoint')
|
||||
log.info(f'api-checkpoint: {model}')
|
||||
model = get('/sdapi/v1/modules')
|
||||
log.info(f'api-modules: {model}')
|
||||
|
||||
Reference in New Issue
Block a user