|
|
|
@@ -12,6 +12,7 @@ import { |
|
|
|
} from '@/pages/Dataset/config'; |
|
|
|
import ModelMetrics from '@/pages/Model/components/ModelMetrics'; |
|
|
|
import { getGitUrl } from '@/utils'; |
|
|
|
import classNames from 'classnames'; |
|
|
|
import styles from './index.less'; |
|
|
|
|
|
|
|
type ResourceIntroProps = { |
|
|
|
@@ -206,7 +207,11 @@ function ResourceIntro({ |
|
|
|
: getModelDatas(info as ModelData); |
|
|
|
|
|
|
|
return ( |
|
|
|
<div className={styles['resource-intro']}> |
|
|
|
<div |
|
|
|
className={classNames(styles['resource-intro'], { |
|
|
|
[styles['resource-intro--dataset']]: resourceType === ResourceType.Dataset, |
|
|
|
})} |
|
|
|
> |
|
|
|
<div className={styles['resource-intro__top']}> |
|
|
|
<SubAreaTitle |
|
|
|
title="基本信息" |
|
|
|
|