Skip to content

Commit

Permalink
Add cardData attribute to widgets model type
Browse files Browse the repository at this point in the history
  • Loading branch information
beurkinger committed Dec 13, 2023
1 parent cf230a6 commit 5121180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/lib/components/InferenceWidget/shared/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface WidgetProps {
apiUrl: string;
callApiOnMount: boolean;
isInferenceEndpoints?: boolean;
model: Pick<ModelData, 'id' | 'mask_token' | 'pipeline_tag' | 'widgetData'>;
model: Pick<ModelData, 'cardData' | 'id' | 'mask_token' | 'pipeline_tag' | 'widgetData'>;
noTitle: boolean;
shouldUpdateUrl: boolean;
includeCredentials: boolean;
Expand Down

0 comments on commit 5121180

Please sign in to comment.