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