Skip to content
Snippets Groups Projects
Commit e2eb5b4e authored by Konrad Völkel's avatar Konrad Völkel
Browse files

minor changes

parent e25b66f4
No related branches found
No related tags found
No related merge requests found
Pipeline #152038 passed
......@@ -30,9 +30,8 @@ export function handleWorker(events){
bestAnswer[questions[i]] = bestTokens[i];
}
drawFeedbackButtons(query, bestAnswer);
drawUserInfo();
drawUserInfo();
/** pass our three results to ui so they can be displayed and worked with in chat */
results.forEach(result => {
......@@ -46,7 +45,7 @@ export function handleWorker(events){
result.answer
);
});
drawFeedbackButtons(query, bestAnswer);
/**discloseLimitations();*/
break;
......
......@@ -221,8 +221,8 @@
.feedback-container {
position: relative;
margin-left: auto;
left: -20px;
margin-right: auto;
right: -25px;
color: #000;
cursor: pointer;
max-width: 10px;
......@@ -238,11 +238,11 @@
content: "Did the suggestions answer your question? Let us know.";
position: absolute;
max-width: 100px;
bottom: -50px;
right: 300%;
left: 200%;
transform: translateX(20%);
background-color: rgb(0, 0, 0, 0.8);
color: white;
z-index: 1000;
padding: 10px;
border-radius: 4px;
font-size: 14px;
......@@ -331,22 +331,3 @@
transform: translateY(0);
}
}
......@@ -20,8 +20,13 @@ self.onmessage = async function (event) {
switch (act) {
case 'initialize':
console.time("calcEmbeddings");
console.time("Model Loading Time");
await initializeModel();
console.timeEnd("Model Loading Time");
console.time("calcEmbeddings");
textData = newtextData;
setCaches(embeddingStack, tokenEmbeddingStack);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment