chore: hide rerank tab
This commit is contained in:
@@ -72,6 +72,7 @@ const InputList: React.FC<InputListProps> = ({ textList, onChange }) => {
|
||||
<RowTextarea
|
||||
label={`${index + 1}.`}
|
||||
value={text.text}
|
||||
placeholder="Input your text"
|
||||
onChange={(e) => handleTextChange(e.target.value, text)}
|
||||
></RowTextarea>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
import IconFont from '@/components/icon-font';
|
||||
import HotKeys from '@/config/hotkeys';
|
||||
import {
|
||||
FileSearchOutlined,
|
||||
MessageOutlined,
|
||||
OneToOneOutlined
|
||||
} from '@ant-design/icons';
|
||||
import { MessageOutlined, OneToOneOutlined } from '@ant-design/icons';
|
||||
import { PageContainer } from '@ant-design/pro-components';
|
||||
import { useIntl } from '@umijs/max';
|
||||
import { Button, Segmented, Space, Tabs, TabsProps } from 'antd';
|
||||
@@ -38,12 +34,12 @@ const Playground: React.FC = () => {
|
||||
label: intl.formatMessage({ id: 'menu.compare' }),
|
||||
value: 'compare',
|
||||
icon: <OneToOneOutlined />
|
||||
},
|
||||
{
|
||||
label: 'Rerank',
|
||||
value: 'reranker',
|
||||
icon: <FileSearchOutlined />
|
||||
}
|
||||
// {
|
||||
// label: 'Rerank',
|
||||
// value: 'reranker',
|
||||
// icon: <FileSearchOutlined />
|
||||
// }
|
||||
];
|
||||
|
||||
const handleViewCode = useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user