disable automatic1111 notification when using comfyui backend
parent
36e4db0330
commit
781d5a2e94
|
|
@ -22,6 +22,7 @@ import {
|
||||||
mask_store as viewer_mask_store,
|
mask_store as viewer_mask_store,
|
||||||
// init_store as viewer_init_store,
|
// init_store as viewer_init_store,
|
||||||
} from '../viewer/viewer_util'
|
} from '../viewer/viewer_util'
|
||||||
|
import { settings_tab_ts } from '../entry'
|
||||||
|
|
||||||
declare let g_automatic_status: any
|
declare let g_automatic_status: any
|
||||||
declare let g_current_batch_index: number
|
declare let g_current_batch_index: number
|
||||||
|
|
@ -161,10 +162,13 @@ const canStartSession = async () => {
|
||||||
await psapi.reSelectMarqueeExe(session_store.data.selectionInfo)
|
await psapi.reSelectMarqueeExe(session_store.data.selectionInfo)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//@ts-ignore
|
|
||||||
g_automatic_status = await checkAutoStatus()
|
if (settings_tab_ts.store.data.selected_backend === 'Automatic1111') {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
await displayNotification(g_automatic_status)
|
g_automatic_status = await checkAutoStatus()
|
||||||
|
//@ts-ignore
|
||||||
|
await displayNotification(g_automatic_status)
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn(e)
|
console.warn(e)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue