Skip to content

[Bug]: ERROR text is incorrect when trying to run BiRefNet General-Lite #230

@toboil-features

Description

@toboil-features

Operating System

ArchLinux (2026-04-16 latest everything, stable)

Installation Method

Install_CorridorKey_Linux_Mac.sh

GPU/Hardware (Optional)

Nvidia, CUDA 12

Steps to Reproduce

  1. Install with "Install_CorridorKey_Linux_Mac.sh"
  2. CorridorKey_DRAG_CLIPS_HERE_local.sh /home/whatever/clip.mp4
  3. Choose "y" (to create hint folders), "b" (birefnet model), "4" (General-Lite), "0" (erosion), "y" (continue)

Expected Behavior

No response

Actual Behavior

  • Path is not fully purple when space is present.
  • https://hf.co//home/me/Dev Git/CorridorKey/BiRefNetModule/checkpoints/BiRefNet_lite link is invalid and senseless for an error.
Image

Relevant Logs or Error Messages

       ERROR    BiRefNet Initialization Error: The repository /home/me/Dev               clip_manager.py:326
                Git/CorridorKey/BiRefNetModule/checkpoints/BiRefNet_lite contains custom                    
                code which must be executed to correctly load the model. You can inspect                    
                the repository content at /home/me/Dev                                                      
                Git/CorridorKey/BiRefNetModule/checkpoints/BiRefNet_lite .                                  
                 You can inspect the repository content at https://hf.co//home/me/Dev                       
                Git/CorridorKey/BiRefNetModule/checkpoints/BiRefNet_lite.                                   
                Please pass the argument `trust_remote_code=True` to allow custom code                      
                to be run.

Workaround (if available)

No response

Verification Checklist

  • I've verified this bug hasn't been reported before
  • I can reproduce this issue consistently
  • I've included all relevant logs, screenshots, and error messages
  • I've tested with the latest version of the project

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions