1
0
Fork 0

serialize networks

This commit is contained in:
Sean Sube 2023-03-18 19:21:15 -05:00
parent 2d112104fb
commit 716e009611
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ def list_models(context: ServerContext):
{
"correction": get_correction_models(),
"diffusion": get_diffusion_models(),
"networks": get_network_models(),
"networks": [model.tojson() for model in get_network_models()],
"upscaling": get_upscaling_models(),
}
)