mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-03-25 13:17:37 +00:00
upgraded working with personality workflows
This commit is contained in:
parent
12fb942633
commit
2d116b1468
@ -253,7 +253,10 @@ class ModelProcess:
|
||||
if self.personality.processor_cfg is not None:
|
||||
if "custom_workflow" in self.personality.processor_cfg:
|
||||
if self.personality.processor_cfg["custom_workflow"]:
|
||||
self.personality.processor.run_workflow(self._generate, command[1], command[0])
|
||||
output = self.personality.processor.run_workflow(self._generate, command[1], command[0])
|
||||
self._callback(output)
|
||||
self.is_generating.value = 0
|
||||
continue
|
||||
|
||||
self._generate(command[0], self._callback)
|
||||
while not self.generation_queue.empty():
|
||||
|
Loading…
x
Reference in New Issue
Block a user