mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
gallery trace file fetch
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Change Log for SD.Next
|
||||
|
||||
## Update for 2025-06-25
|
||||
## Update for 2025-06-26
|
||||
|
||||
- **Changes**
|
||||
- Add [JoyCaption Beta](https://huggingface.co/fancyfeast/llama-joycaption-beta-one-hf-llava) support (in addition to existing JoyCaption Alpha)
|
||||
|
||||
@@ -6,7 +6,7 @@ from typing import List, Union
|
||||
from urllib.parse import quote, unquote
|
||||
from fastapi import FastAPI
|
||||
from fastapi.responses import JSONResponse
|
||||
from starlette.websockets import WebSocket, WebSocketState, WebSocketDisconnect
|
||||
from starlette.websockets import WebSocket, WebSocketState
|
||||
from pydantic import BaseModel, Field # pylint: disable=no-name-in-module
|
||||
from PIL import Image
|
||||
from modules import shared, images, files_cache
|
||||
@@ -196,6 +196,6 @@ def register_api(app: FastAPI): # register api
|
||||
await manager.send(ws, '#END#')
|
||||
t1 = time.time()
|
||||
shared.log.debug(f'Gallery: type=ws folder="{folder}" files={numFiles} time={t1-t0:.3f}')
|
||||
except WebSocketDisconnect:
|
||||
debug('Browser WS unexpected disconnect')
|
||||
except Exception as e:
|
||||
debug(f'Browser WS error: {e}')
|
||||
manager.disconnect(ws)
|
||||
|
||||
Reference in New Issue
Block a user