mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Submodule extensions-builtin/sdnext-modernui updated: e5888dd2b2...c8e4ec014d
+10
-5
@@ -249,9 +249,14 @@ def setup_logging(debug=None, trace=None, filename=None):
|
||||
log.quiet = quiet_log
|
||||
|
||||
# overrides
|
||||
logging.getLogger("urllib3").setLevel(logging.ERROR)
|
||||
logging.getLogger("httpx").setLevel(logging.ERROR)
|
||||
logging.getLogger("diffusers").setLevel(logging.ERROR)
|
||||
logging.getLogger("torch").setLevel(logging.ERROR)
|
||||
logging.getLogger("ControlNet").handlers = log.handlers
|
||||
logging.getLogger("lycoris").handlers = log.handlers
|
||||
logging.getLogger("ControlNet").handlers = log.handlers
|
||||
|
||||
logging.getLogger("asyncio").setLevel(logging.ERROR)
|
||||
logging.getLogger("diffusers").setLevel(logging.ERROR)
|
||||
logging.getLogger("transformers").setLevel(logging.ERROR)
|
||||
logging.getLogger("httpcore").setLevel(logging.ERROR)
|
||||
logging.getLogger("httpx").setLevel(logging.ERROR)
|
||||
logging.getLogger("torch").setLevel(logging.ERROR)
|
||||
logging.getLogger("urllib3").setLevel(logging.ERROR)
|
||||
logging.getLogger("uvicorn.access").setLevel(logging.ERROR)
|
||||
|
||||
Vendored
+1
@@ -46,6 +46,7 @@ declare global {
|
||||
get_img2img_tab_index?: (...args: unknown[]) => unknown[]; // ui/ui.ts
|
||||
modelmerger?: (...args: unknown[]) => unknown[]; // ui/ui.ts
|
||||
restartReload?: (initial?: boolean) => void; // ui/ui.ts
|
||||
set_theme?: (theme: string) => void; // ui/ui.ts
|
||||
selected_gallery_index?: () => number; // ui/ui.ts
|
||||
selected_gallery_files?: (...args: unknown[]) => unknown[]; // ui/ui.ts
|
||||
send_to_kanvas?: (gallery: { data?: string }[]) => void; // ui/ui.ts
|
||||
|
||||
@@ -25,7 +25,7 @@ function rememberGallerySelection(name) {
|
||||
// dummy
|
||||
}
|
||||
|
||||
function set_theme(theme) {
|
||||
export function set_theme(theme) {
|
||||
const gradioURL = window.location.href;
|
||||
if (!gradioURL.includes('?__theme=')) window.location.replace(`${gradioURL}?__theme=${theme}`);
|
||||
}
|
||||
@@ -859,3 +859,4 @@ window.currentImageResolutionimg2img = currentImageResolutionimg2img;
|
||||
window.currentImageResolutioncontrol = currentImageResolutioncontrol;
|
||||
window.updateImg2imgResizeToTextAfterChangingImage = updateImg2imgResizeToTextAfterChangingImage;
|
||||
window.create_submit_args = create_submit_args;
|
||||
window.set_theme = set_theme;
|
||||
|
||||
+1
-1
Submodule wiki updated: b05574e376...59e1245e3b
Reference in New Issue
Block a user