Skip to content

Commit

Permalink
Indicate that live generaiton has stopped after an error
Browse files Browse the repository at this point in the history
  • Loading branch information
Acly committed Oct 18, 2024
1 parent da39321 commit 5be4e08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ai_diffusion/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ def cancel(self, active=False, queued=False):
def report_error(self, message: str):
self.error = message
self.live.is_active = False
self.custom.is_live = False

def clear_error(self):
if self.error != "":
Expand Down

0 comments on commit 5be4e08

Please sign in to comment.