mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 17:52:16 +00:00
Whitelist RealESRGAN_x4Plus model (#2995)
This commit is contained in:
@@ -52,7 +52,8 @@ const allowedSuffixes = ['.safetensors', '.sft']
|
|||||||
// Models that fail above conditions but are still allowed
|
// Models that fail above conditions but are still allowed
|
||||||
const whiteListedUrls = new Set([
|
const whiteListedUrls = new Set([
|
||||||
'https://huggingface.co/stabilityai/stable-zero123/resolve/main/stable_zero123.ckpt',
|
'https://huggingface.co/stabilityai/stable-zero123/resolve/main/stable_zero123.ckpt',
|
||||||
'https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth?download=true'
|
'https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth?download=true',
|
||||||
|
'https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth'
|
||||||
])
|
])
|
||||||
|
|
||||||
interface ModelInfo {
|
interface ModelInfo {
|
||||||
|
|||||||
Reference in New Issue
Block a user