ArtVentureX / sd-webui-agent-scheduler

605 stars 61 forks source link

Preview frequently breaks #161

Open dm18 opened 8 months ago

dm18 commented 8 months ago

Frequently the live preview in agent scheduler breaks. And previews stop showing. At that point refresh has to be clicked. No error message pops up in console.

dm18 commented 8 months ago

My work around i use tamper monkey browser extension to click refresh button on a regular basis.

`// ==UserScript== // @name Refresh SD que // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match http://127.0.0.1:7860/* // @grant none // ==/UserScript==

function doSomething() { document.getElementById("agent_scheduler_action_reload").click(); console.log("click"); }

(function() { 'use strict';

setInterval(doSomething, 10000);

})();`