frontend / 6.0.1 /label /types.ts
gradio-pr-bot's picture
Upload folder using huggingface_hub
5150d75 verified
import type { SelectData, LoadingStatus } from "@gradio/utils";
export interface LabelProps {
value: {
label?: string;
confidences?: { label: string; confidence: number }[];
};
color: undefined | string;
_selectable: boolean;
show_heading: boolean;
}
export interface LabelEvents {
change: never;
select: SelectData;
clear_status: LoadingStatus;
}