Fix extraneous values in template workflows (#2605)

This commit is contained in:
bymyself
2025-02-17 11:55:29 -07:00
committed by GitHub
parent 4d8a5eacba
commit 79452ce267
9 changed files with 10 additions and 466 deletions

View File

@@ -51,7 +51,8 @@ const allowedSources = [
const allowedSuffixes = ['.safetensors', '.sft']
// Models that fail above conditions but are still allowed
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'
])
interface ModelInfo {

View File

@@ -165,7 +165,7 @@ export const CORE_TEMPLATES = [
mediaType: 'image',
mediaSubtype: 'png',
tutorialUrl:
'https://comfyanonymous.github.io/ComfyUI_examples/upscale_models/'
'https://comfyanonymous.github.io/ComfyUI_examples/2_pass_txt2img/'
},
{
name: 'esrgan_example',
@@ -174,13 +174,6 @@ export const CORE_TEMPLATES = [
tutorialUrl:
'https://comfyanonymous.github.io/ComfyUI_examples/upscale_models/'
},
{
name: 'hiresfix_latent_workflow',
mediaType: 'image',
mediaSubtype: 'png',
tutorialUrl:
'https://comfyanonymous.github.io/ComfyUI_examples/2_pass_txt2img/'
},
{
name: 'hiresfix_esrgan_workflow',
mediaType: 'image',