mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Upgrade version of fastapi and socketio
This commit is contained in:
parent
bb242c4e1e
commit
6c5f743e2b
@ -14,7 +14,7 @@ class SocketIO:
|
||||
|
||||
def __init__(self, app: FastAPI):
|
||||
self.__sio = AsyncServer(async_mode="asgi", cors_allowed_origins="*")
|
||||
self.__app = ASGIApp(socketio_server=self.__sio, socketio_path="socket.io")
|
||||
self.__app = ASGIApp(socketio_server=self.__sio, socketio_path="/ws/socket.io")
|
||||
app.mount("/ws", self.__app)
|
||||
|
||||
self.__sio.on("subscribe_queue", handler=self._handle_sub_queue)
|
||||
|
@ -55,12 +55,12 @@ dependencies = [
|
||||
"transformers==4.37.2",
|
||||
|
||||
# Core application dependencies, pinned for reproducible builds.
|
||||
"fastapi-events==0.10.0",
|
||||
"fastapi==0.108.0",
|
||||
"fastapi-events==0.10.1",
|
||||
"fastapi==0.109.2",
|
||||
"huggingface-hub==0.20.3",
|
||||
"pydantic-settings==2.1.0",
|
||||
"pydantic==2.5.3",
|
||||
"python-socketio==5.11.0",
|
||||
"python-socketio==5.11.1",
|
||||
"uvicorn[standard]==0.25.0",
|
||||
|
||||
# Auxiliary dependencies, pinned only if necessary.
|
||||
|
Loading…
Reference in New Issue
Block a user