pixano.app.routers.inference.utils
get_client_from_settings(settings)
Get the Pixano inference client from the settings.
Source code in pixano/app/routers/inference/utils.py
get_model_source(dataset, model)
Get the model's source from a given Dataset and Model.
If it exists in the database already it returns that one otherwise creates a new instance.