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 committed Sep 13, 2023
1 parent 3ae1ff1 commit 366ac81
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 @@ -234,6 +234,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 366ac81

Please sign in to comment.