- 新增 Seg_Server_Docker 自包含部署内容,包含前后端、FastAPI、Celery、PostgreSQL、Redis、MinIO、演示视频和 DICOM 数据。 - 保留 demo 数据以支持恢复演示出厂设置,排除 SAM 2.1 .pt 权重并在 README 中补充下载命令。 - 补充 GPU 部署、backend/worker 镜像复用、frpc/frps + NPM 公网域名反代部署说明。 - 在 .env/.env.example 中用 # XXXX 标注局域网和公网域名部署需要修改的配置项。 - 添加部署分支 .gitignore,忽略本地模型权重、构建产物、缓存和日志。
26 lines
762 B
TypeScript
26 lines
762 B
TypeScript
import React from 'react';
|
|
import { Bot, Sparkles } from 'lucide-react';
|
|
|
|
interface AiSegmentationIconProps {
|
|
size?: number;
|
|
strokeWidth?: number;
|
|
}
|
|
|
|
export function AiSegmentationIcon({ size = 20, strokeWidth = 2 }: AiSegmentationIconProps) {
|
|
const sparkleSize = Math.max(9, Math.round(size * 0.48));
|
|
return (
|
|
<span
|
|
data-testid="ai-segmentation-icon"
|
|
className="relative inline-flex items-center justify-center"
|
|
style={{ width: size, height: size }}
|
|
>
|
|
<Bot size={size} strokeWidth={strokeWidth} />
|
|
<Sparkles
|
|
size={sparkleSize}
|
|
strokeWidth={Math.max(strokeWidth, 2.2)}
|
|
className="absolute -right-1 -top-1 text-cyan-300 drop-shadow-[0_0_4px_rgba(34,211,238,0.75)]"
|
|
/>
|
|
</span>
|
|
);
|
|
}
|