BiRefNet_demo / app.py

Commit History

  1. Solve the x-net problem on no permission. Running

    28e6943
  2. Upgrade transformers to the latest version.

    Verified signature
    5fad054

  1. reorder the return values to make the predicted result as the target by the download button in the UI.

    abc33ee

  1. Set RGBA as the default format of input images.

    2032f41
  2. Add the rgba2rgb preprocessing for RGBA inputs.

    a7ab477

  1. Add a new model for matting: BiRefNet_dynamic-matting.

    aa6bac1

  1. Add the missing model_choice in the definition of url examples.

    d719afe
  2. Add the missing model_choice in the definition of examples.

    0711aae
  3. Change the default model choice for bb and Mi Sheng.

    cfb5a5c
  4. Provide default value for the radio of examples.

    db6f03b

  1. Acceleration on the refine_foreground.

    ce634b2

  1. Bump gradio to the latest version.

    c389a57
  2. Bump gradio to the latest version.

    2390d6e

  1. Correct the wrong HF model name of BiRefNet_512x512. Add the BiRefNet_lite-Anime option.

    Verified signature
    46304c9

  1. Update app.py

    Verified signature
    58ab236
  2. Update app.py

    Verified signature
    2f7097d
  3. Update app.py

    Verified signature
    f1c7f1f

  1. Remove redundant codes in fixing the HF space permission error.

    fb3acd2
  2. Remove redundant codes in fixing the HF space permission error.

    484b929
  3. Remove redundant codes in fixing the HF space permission error.

    0ec1470
  4. Remove redundant codes in fixing the HF space permission error.

    c4044a5
  5. Remove redundant codes in fixing the HF space permission error.

    f41a09e
  6. Remove redundant codes in fixing the HF space permission error.

    cdd9137
  7. Remove redundant codes in fixing the HF space permission error.

    04accf8
  8. Remove redundant codes in fixing the HF space permission error.

    27b44f0
  9. Remove redundant codes in fixing the HF space permission error.

    9bc3d0c
  10. Remove redundant codes in fixing the HF space permission error.

    fd82537
  11. Remove local_dir_use_symlinks in from_pretrained().

    1792b56
  12. Add local_dir_use_symlinks=False in from_pretrained.

    34b5702
  13. Add local_dir_use_symlinks=False in from_pretrained.

    b521789
  14. Specify HF_MODULES_CACHE.

    cbc80cf
  15. Add cache_dir in from_pretrained.

    4396298
  16. Change the CACHE PATH of HF and transformers lib to /tmp/xx.

    752e7b9
  17. Change the CACHE PATH of HF and transformers lib.

    217b29d
  18. Turn back back to the latest version.

    a0f35d6
  19. Reverse.

    b6a0637
  20. Turn back the transformers to latest version.

    5f799ae
  21. Downgrade the version of transformers lib.

    fc4433a
  22. Fix the transformers cache bug in versions >= v4.22.0.

    1be3d4d
  23. Add BiRefNet_dynamic for test and arbitary input size for it.

    8af980d

  1. Update the order of model options by the superiority and popularity of them.

    5b26e24
  2. Update the order of model options by the superiority and popularity of them.

    4308d99
  3. Update the order of model options by the superiority and popularity of them.

    9e4d313

  1. UAdd two more model options, udate the torch version to 2.5.1, and the app_local.py.

    48acb1d

  1. Turn on half precision.

    76fcb7a
  2. Turn on half precision.

    33f3505
  3. Add new model BiRefNet_HR to the model list.

    22bfe4c

  1. Add BiRefNet-matting option.

    bcfa392

  1. Add BiRefNet-Lite-2K model, add model choosing option in tab_batch.

    1592dab

  1. Fix a bug in SliderImage.

    9439305