Skip to content

Commit

Permalink
Remove the ModelProvider interface (#8860)
Browse files Browse the repository at this point in the history
It was only used in the Enterprise version, so I moved it there.
  • Loading branch information
SpecLad authored Dec 24, 2024
1 parent 3ba5715 commit 2fd48c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions cvat-core/src/lambda-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ import { ArgumentError } from './exceptions';
import MLModel from './ml-model';
import { RQStatus, ShapeType } from './enums';

export interface ModelProvider {
name: string;
icon: string;
attributes: Record<string, string>;
}

export interface InteractorResults {
mask: number[][];
points?: [number, number][];
Expand Down
2 changes: 0 additions & 2 deletions cvat-ui/src/cvat-core-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import ObjectState from 'cvat-core/src/object-state';
import Webhook from 'cvat-core/src/webhook';
import MLModel from 'cvat-core/src/ml-model';
import CloudStorage from 'cvat-core/src/cloud-storage';
import { ModelProvider } from 'cvat-core/src/lambda-manager';
import {
Label, Attribute,
} from 'cvat-core/src/labels';
Expand Down Expand Up @@ -121,7 +120,6 @@ export type {
SerializedAttribute,
SerializedLabel,
StorageData,
ModelProvider,
APIWrapperEnterOptions,
QualitySummary,
CVATCore,
Expand Down

0 comments on commit 2fd48c8

Please sign in to comment.