The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
remove creation of non-used asyncio_loop (#9284)
Alexander Piskunfa340add5524
diff --git a/execution.py b/execution.pyindex 952f0cc5c..1dc35738b 100644--- a/execution.py+++ b/execution.py@@ -646,8 +646,6 @@ class PromptExecutor:self.add_message("execution_error", mes, broadcast=False)def execute(self, prompt, prompt_id, extra_data={}, execute_outputs=[]):- asyncio_loop = asyncio.new_event_loop()- asyncio.set_event_loop(asyncio_loop)asyncio.run(self.execute_async(prompt, prompt_id, extra_data, execute_outputs))async def execute_async(self, prompt, prompt_id, extra_data={}, execute_outputs=[]):