Hello,
When I generate the model card using the python script provided in this example, the permutation importances figure is referenced using an absolute path, instead of a path relative to the repository:
model_card.add_permutation_importances(
importances,
X_test.columns,
plot_file=Path(local_repo) / "importance.png",
plot_name="Permutation Importance",
)
This results in the following output (in README.md):

Instead, the plot_file argument should just be "importance.png".
Hello,
When I generate the model card using the python script provided in this example, the permutation importances figure is referenced using an absolute path, instead of a path relative to the repository:
This results in the following output (in
README.md):Instead, the
plot_fileargument should just be"importance.png".