Currently add only supports injecting values to already existing sections in a template, meanwhile add_plot can append new sections at the end of the model card and write plots. add should also support adding sections and subsections to the model card, without appending if possible. e.g. for default template, if user wants to add a subsection to training procedure (which is in the middle of the card) they should be able to do that without modifying the template themselves.
Currently
addonly supports injecting values to already existing sections in a template, meanwhile add_plot can append new sections at the end of the model card and write plots.addshould also support adding sections and subsections to the model card, without appending if possible. e.g. for default template, if user wants to add a subsection to training procedure (which is in the middle of the card) they should be able to do that without modifying the template themselves.