Skip to content

Commit

Permalink
Fix displaying MLFlow predictors
Browse files Browse the repository at this point in the history
Signed-off-by: rvalkenaers <[email protected]>
  • Loading branch information
rvalkenaers authored and hansinikarunarathne committed Sep 15, 2024
1 parent 704dee3 commit 77b4a01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/app/shared/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ export function getPredictorRuntime(predictor: PredictorSpec): string {
if (predictorType === PredictorType.Lightgbm) {
return 'LightGBM ModelServer';
}
if (predictorType === PredictorType.MLFlow) {
return 'MLFlow ModelServer';
}
if (predictorType === PredictorType.Custom) {
return 'Custom ModelServer';
}
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/app/types/kfserving/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export enum PredictorType {
Xgboost = 'xgboost',
Pmml = 'pmml',
Lightgbm = 'lightgbm',
MLFlow = 'mlflow',
Custom = 'custom',
}

Expand All @@ -59,6 +60,7 @@ export interface PredictorSpec extends V1PodSpec, ComponentExtensionSpec {
onnx?: PredictorExtensionSpec;
pmml?: PredictorExtensionSpec;
lightgbm?: PredictorExtensionSpec;
mlflow?: PredictorExtensionSpec;
model?: ModelSpec;
}

Expand Down

0 comments on commit 77b4a01

Please sign in to comment.