diff --git a/public/brandize.html b/public/brandize.html index 1f040e2..bdb0760 100644 --- a/public/brandize.html +++ b/public/brandize.html @@ -7,6 +7,8 @@ + + diff --git a/public/widget/custom/brandize.js b/public/widget/custom/brandize.js index 42926bf..7b60fba 100644 --- a/public/widget/custom/brandize.js +++ b/public/widget/custom/brandize.js @@ -1,3 +1,8 @@ +console.log('INIT ELEVENLABS') + +import { Conversation } from 'https://cdn.skypack.dev/@elevenlabs/client'; + + const callBtn = document.getElementById('callBtn'); let conversation = null; diff --git a/public/widget/custom/brandize.json b/public/widget/custom/brandize.json index 5562d11..b0716ea 100644 --- a/public/widget/custom/brandize.json +++ b/public/widget/custom/brandize.json @@ -1,6 +1,6 @@ { "api": "https://brandize.n8n.odoo4projects.com/webhook/81742473-b50b-4845-a5f9-916d9fe60876/chat", "preamble": "Welcome to Brandize", - "widgetHTML": "\n
" + "widgetHTML": "\n" } diff --git a/public/widget/custom/od8n.js b/public/widget/custom/od8n.js new file mode 100644 index 0000000..e69de29