We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07644a3 commit 19321bbCopy full SHA for 19321bb
frontend/src/app/shared/utils.ts
@@ -143,14 +143,7 @@ export function getPredictorExtensionSpec(
143
predictor: PredictorSpec,
144
): PredictorExtensionSpec {
145
if (predictor.model) {
146
- if (
147
- Object.values(PredictorType).includes(
148
- predictor.model?.modelFormat.name as PredictorType,
149
- )
150
- ) {
151
- const spec = predictor.model;
152
- return spec;
153
- }
+ return predictor.model
154
} else {
155
for (const predictorType of Object.values(PredictorType)) {
156
if (predictorType in predictor) {
0 commit comments