diff --git a/src/renderer/components/Experiment/Embeddings.tsx b/src/renderer/components/Experiment/Embeddings.tsx index 68872f1..db7bdd1 100644 --- a/src/renderer/components/Experiment/Embeddings.tsx +++ b/src/renderer/components/Experiment/Embeddings.tsx @@ -8,6 +8,7 @@ import Sheet from '@mui/joy/Sheet'; import * as chatAPI from 'renderer/lib/transformerlab-api-sdk'; import { PencilIcon, PlayIcon } from 'lucide-react'; import { + Box, Button, FormControl, FormHelperText, @@ -34,48 +35,60 @@ export default function Embeddings({ model_name }) { embeddings = embeddings.join('\n\n\n'); - document.getElementsByName('outputText')[0].value = embeddings; + document.getElementById('embeddingsResult').innerHTML = embeddings; } return ( <> - + Generate Embeddings - - - Input Text -