Skip to main content

ModelStatusDashboardProps

@fovea/annotation-tool


@fovea/annotation-tool / components/ModelStatusDashboard / ModelStatusDashboardProps

Interface: ModelStatusDashboardProps

Defined in: src/components/ModelStatusDashboard.tsx:42

Props for ModelStatusDashboard component.

Properties

onUnloadModel()?

optional onUnloadModel: (modelId, taskType) => void

Defined in: src/components/ModelStatusDashboard.tsx:62

Callback when unload button is clicked.

Parameters

modelId

string

taskType

string

Returns

void


refreshInterval?

optional refreshInterval: number | false

Defined in: src/components/ModelStatusDashboard.tsx:48

Auto-refresh interval in milliseconds. Set to false to disable auto-refresh.

Default

15000

showAutoRefreshToggle?

optional showAutoRefreshToggle: boolean

Defined in: src/components/ModelStatusDashboard.tsx:58

Enable auto-refresh toggle.

Default

true

showRefreshButton?

optional showRefreshButton: boolean

Defined in: src/components/ModelStatusDashboard.tsx:53

Enable manual refresh button.

Default

true