• Tolga Cangöz's avatar
    Fix Colab and Notebook checks for `diffusers-cli env` (#8408) · cf55dcf0
    Tolga Cangöz authored
    
    
    * chore: Update is_google_colab check to use environment variable
    
    * Check Colab with all possible COLAB_* env variables
    
    * Remove unnecessary word
    
    * Make `_is_google_colab` more inclusive
    
    * Revert "Make `_is_google_colab` more inclusive"
    
    This reverts commit 6406db21ac46139c20ccae20ccb44877eec87ba7.
    
    * Make `_is_google_colab` more inclusive.
    
    * chore: Update import_utils.py with notebook check improvement
    
    * Refactor import_utils.py to improve notebook detection for VS Code's notebook
    
    * chore: Remove `is_notebook()` function and related code
    
    ---------
    Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
    cf55dcf0
__init__.py 3.84 KB