Make sure the pooled output stays at the EOS token with added embeddings.

This commit is contained in:
comfyanonymous
2023-08-03 20:27:50 -04:00
parent 9534f0f8a5
commit c99d8002f8
2 changed files with 13 additions and 6 deletions

View File

@@ -267,7 +267,6 @@ export const ComfyWidgets = {
return { widget: node.addWidget(widgetType, inputName, val, () => {}, config) };
},
INT(node, inputName, inputData, app) {
console.log(app);
let widgetType = isSlider(inputData[1]["display"], app);
const { val, config } = getNumberDefaults(inputData, 1);
Object.assign(config, { precision: 0 });