Is there a way to disable or remove the built in Masks? #2040
-
Hi there I was wondering if there was a way I could start off with a blank slate of my own prompts without the preloaded ones showing up? I love this Web interface other than that. Anyone know? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Upvote #2043 |
Beta Was this translation helpful? Give feedback.
-
@Jcontre905, to remove masks, in the export const BUILTIN_MASKS: Mask[] = [...CN_MASKS, ...EN_MASKS].map((m) =>
BUILTIN_MASK_STORE.add(m),
); to export const BUILTIN_MASKS: Mask[] = []; Also you can remove files If you need also disable promts, in the let fetchPrompts = [res.en, res.cn]; to let fetchPrompts: PromptList[] = []; |
Beta Was this translation helpful? Give feedback.
@Jcontre905, to remove masks, in the
app/masks/index.ts
file removeCN_MASKS
andEN_MASKS
usage. It will be replacingto
Also you can remove files
app/masks/cn.ts
andapp\masks\en.ts
, if need to clear more files. And remove imports of these files.If you need also disable promts, in the
app\store\prompt.ts
file you can replaceto