• Your Name's avatar
    Implement intelligent model loading for local files, URLs, and HF IDs · bff24350
    Your Name authored
    - Updated load_model() to handle three input types:
      1. Local files: Use directly without caching
      2. URLs: Download to cache if not cached, then use
      3. HF model IDs: Download via HF API if not cached, then use
    - Updated get_cached_model_path() to validate local files
    - Enhanced module documentation to reflect new capabilities
    - All model types (text, image, audio, etc.) can now use any input type
    bff24350
__init__.py 19.5 KB