I’ve been experimenting with Transformers and ran into a small issue when trying to fine-tune a model for text classification. Everything works fine locally, but when I deploy it on my wordpress-based site “pocket champs mod“ built with Kadence theme some scripts are being blocked in certain browsers which breaks the model’s interactive demo.
There may be multiple causes…
I faced a very similar issue while working on a client’s WordPress site “ropeherroapk.com”. The main problem turned out to be script handling and security restrictions from the theme and a couple of plugins. After testing plugin conflicts and adjusting the embed settings, it started working fine
This is a common challenge when bringing AI models into WordPress because different layers like themes, plugins, security settings, and browsers can affect how scripts load. I would check the browser console, CSP settings, and script methods first. Enqueuing scripts properly through a custom plugin or WordPress functions usually helps avoid conflicts. At WPGrit, we explore practical WordPress solutions, performance improvements, and modern web integrations, so issues like AI model embedding are a great example of why clean development practices matter. Hope you find the source of the conflict and get the model working smoothly.