mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
@@ -210,7 +210,7 @@ def register_api(api): # register api
|
||||
debug(f'Browser folders allow: {path}')
|
||||
shared.demo.allowed_paths.append(path)
|
||||
debug(f'Browser folders: {unique_folders}')
|
||||
return JSONResponse(content=unique_folders)
|
||||
return unique_folders
|
||||
|
||||
# @app.get("/sdapi/v1/browser/thumb", response_model=dict)
|
||||
async def get_thumb(file: str, exif: bool = False):
|
||||
|
||||
Reference in New Issue
Block a user