Skip to content
Snippets Groups Projects
Commit 4c7e9ace authored by ali asaria's avatar ali asaria
Browse files

show a little instruction on data format

parent c2d4eb25
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ import {
Option,
Textarea,
Typography,
Alert,
} from '@mui/joy';
import useSWR from 'swr';
import * as chatAPI from 'renderer/lib/transformerlab-api-sdk';
......@@ -109,10 +110,14 @@ export default function TrainingModalDataTab({
case 'none':
return (
<>
<Typography level="title-md" pb={1}>
{parsedData?.training_data_instructions && (
<Alert color="primary">
{parsedData?.training_data_instructions}
</Alert>
)}
<Typography level="title-md" py={1}>
Preview:
</Typography>
<DatasetTable datasetId={selectedDataset} />
</>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment