Made CLIP input optional in LoRA Loader, enabling compatibility with Hunyuan workflows

This commit is contained in:
Will Miao
2025-03-26 21:50:26 +08:00
parent 83582ef8a3
commit 0459710c9b
3 changed files with 7 additions and 5 deletions

View File

@@ -2,16 +2,13 @@ import os
import logging
import asyncio
import json
import re
from typing import List, Dict, Optional, Any
from datetime import datetime
from ..config import config
from .recipe_cache import RecipeCache
from .lora_scanner import LoraScanner
from .civitai_client import CivitaiClient
from ..utils.utils import fuzzy_match
import sys
from contextlib import asynccontextmanager
logger = logging.getLogger(__name__)