chore: audio api adjust

This commit is contained in:
jialin
2024-11-27 19:35:19 +08:00
parent 230120fff5
commit 60c92b8a98
12 changed files with 73 additions and 67 deletions
@@ -481,6 +481,20 @@ const Models: React.FC<ModelsProps> = ({
</Tag>
);
}
if (record.image_only) {
return (
<Tag
style={{
margin: 0,
opacity: 0.8,
transform: 'scale(0.9)'
}}
color="geekblue"
>
Image Only
</Tag>
);
}
return null;
}, []);
const renderChildren = useCallback(
+1
View File
@@ -2,6 +2,7 @@ export interface ListItem {
source: string;
backend: string;
reranker: boolean;
image_only?: boolean;
huggingface_repo_id: string;
huggingface_file_name: string;
backend_version?: string;