serialize networks
This commit is contained in:
parent
2d112104fb
commit
716e009611
|
@ -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(),
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue