The model page seems to be a bit slower then before, might be because the number of callbacks has increased.
# Callback for the model table
callbacks.table_row_select(app, "models_table")
callbacks.update_inference_dropdown(app)
callbacks.update_model_detail_component(app)
callbacks.update_model_metrics_component(app)
callbacks.update_model_plot_component(app)
Looking through the code the Model(model_uuid) object is constructed 5 times, so this is probably the issue. Not sure we could get this down to 1, but lets see of these callbacks can be combined or we can minimize number of object constructions
The model page seems to be a bit slower then before, might be because the number of callbacks has increased.
Looking through the code the
Model(model_uuid)
object is constructed 5 times, so this is probably the issue. Not sure we could get this down to 1, but lets see of these callbacks can be combined or we can minimize number of object constructions