Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.Huggingface) {
return 'HuggingFace 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',
Huggingface = 'huggingface',
Custom = 'custom',
}

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

Expand Down