mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(events): add missing events
These events weren't being emitted via socket.io: - DownloadCancelledEvent - DownloadCompleteEvent - DownloadErrorEvent - DownloadProgressEvent - DownloadStartedEvent - ModelInstallDownloadsCompleteEvent
This commit is contained in:
parent
88a2340b95
commit
5cdf71b72f
@ -12,6 +12,11 @@ from invokeai.app.services.events.events_common import (
|
|||||||
BulkDownloadErrorEvent,
|
BulkDownloadErrorEvent,
|
||||||
BulkDownloadEventBase,
|
BulkDownloadEventBase,
|
||||||
BulkDownloadStartedEvent,
|
BulkDownloadStartedEvent,
|
||||||
|
DownloadCancelledEvent,
|
||||||
|
DownloadCompleteEvent,
|
||||||
|
DownloadErrorEvent,
|
||||||
|
DownloadProgressEvent,
|
||||||
|
DownloadStartedEvent,
|
||||||
FastAPIEvent,
|
FastAPIEvent,
|
||||||
InvocationCompleteEvent,
|
InvocationCompleteEvent,
|
||||||
InvocationDenoiseProgressEvent,
|
InvocationDenoiseProgressEvent,
|
||||||
@ -21,6 +26,7 @@ from invokeai.app.services.events.events_common import (
|
|||||||
ModelInstallCancelledEvent,
|
ModelInstallCancelledEvent,
|
||||||
ModelInstallCompleteEvent,
|
ModelInstallCompleteEvent,
|
||||||
ModelInstallDownloadProgressEvent,
|
ModelInstallDownloadProgressEvent,
|
||||||
|
ModelInstallDownloadsCompleteEvent,
|
||||||
ModelInstallErrorEvent,
|
ModelInstallErrorEvent,
|
||||||
ModelInstallStartedEvent,
|
ModelInstallStartedEvent,
|
||||||
ModelLoadCompleteEvent,
|
ModelLoadCompleteEvent,
|
||||||
@ -78,9 +84,15 @@ class SocketIO:
|
|||||||
|
|
||||||
register_events(
|
register_events(
|
||||||
{
|
{
|
||||||
|
DownloadCancelledEvent,
|
||||||
|
DownloadCompleteEvent,
|
||||||
|
DownloadErrorEvent,
|
||||||
|
DownloadProgressEvent,
|
||||||
|
DownloadStartedEvent,
|
||||||
ModelLoadStartedEvent,
|
ModelLoadStartedEvent,
|
||||||
ModelLoadCompleteEvent,
|
ModelLoadCompleteEvent,
|
||||||
ModelInstallDownloadProgressEvent,
|
ModelInstallDownloadProgressEvent,
|
||||||
|
ModelInstallDownloadsCompleteEvent,
|
||||||
ModelInstallStartedEvent,
|
ModelInstallStartedEvent,
|
||||||
ModelInstallCompleteEvent,
|
ModelInstallCompleteEvent,
|
||||||
ModelInstallCancelledEvent,
|
ModelInstallCancelledEvent,
|
||||||
|
Loading…
Reference in New Issue
Block a user