Skip to content

Commit

Permalink
serialize networks
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Mar 19, 2023
1 parent 2d11210 commit 716e009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/server/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
)
Expand Down

0 comments on commit 716e009

Please sign in to comment.