mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-20 03:36:30 +00:00
upgraded
This commit is contained in:
parent
01302d7d00
commit
aad6e2e685
@ -1,5 +1,5 @@
|
||||
from ascii_colors import ASCIIColors
|
||||
from flask_socketio import SocketIO
|
||||
import socketio
|
||||
from enum import Enum
|
||||
class NotificationType(Enum):
|
||||
"""Notification types."""
|
||||
@ -36,9 +36,10 @@ class NotificationDisplayType(Enum):
|
||||
|
||||
|
||||
class LoLLMsCom:
|
||||
def __init__(self, socketio:SocketIO=None) -> None:
|
||||
def __init__(self, socketio:socketio.AsyncServer=None) -> None:
|
||||
self.socketio= socketio
|
||||
|
||||
|
||||
def InfoMessage(self, content, client_id=None, verbose:bool=True):
|
||||
self.notify(
|
||||
content,
|
||||
|
Loading…
Reference in New Issue
Block a user