Skip to content
Snippets Groups Projects
Commit 9b673925 authored by deep1401's avatar deep1401
Browse files
parents 72e1db34 2d61c6f2
Branches
Tags
Loading
...@@ -8,7 +8,7 @@ import { ...@@ -8,7 +8,7 @@ import {
Table, Table,
Typography, Typography,
} from '@mui/joy'; } from '@mui/joy';
import { Trash2Icon } from 'lucide-react'; import { ChartColumnBigIcon, FileDigitIcon, Trash2Icon } from 'lucide-react';
import { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
import useSWR from 'swr'; import useSWR from 'swr';
import * as chatAPI from '../../../lib/transformerlab-api-sdk'; import * as chatAPI from '../../../lib/transformerlab-api-sdk';
...@@ -47,13 +47,17 @@ function RenderScore({ score }) { ...@@ -47,13 +47,17 @@ function RenderScore({ score }) {
return scoreArray.map((score, idx) => ( return scoreArray.map((score, idx) => (
<> <>
{' '}
<Chip <Chip
key={idx} key={idx}
color="success" color="success"
variant="outlined" variant="outlined"
sx={{ marginRight: '4px' }} sx={{ marginRight: '4px' }}
> >
{score?.type}: {score?.score.toFixed(5)} <span style={{ display: 'flex', alignItems: 'center' }}>
<ChartColumnBigIcon size="14px" style={{ marginRight: '3px' }} />{' '}
{score?.type}: {score?.score.toFixed(5)}
</span>
</Chip> </Chip>
<br /> <br />
</> </>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment