Skip to content

ImportError due to outdated colab #21

Description

@rudolphyo

colab tagged in README have outdated imports.
if you need to use lambda-diffusers and prefer colab here is quick fix:

# at any first cell where pip installs 
! git clone https://github.com/LambdaLabsML/lambda-diffusers.git lambda_diffusers
# actual import
from lambda_diffusers.lambda_diffusers import StableDiffusionImageEmbedPipeline
...
# seems like its more relevant to import as on hfspaces 
# from diffusers import StableDiffusionImageVariationPipeline

btw, thanks for your work on this repo! neat trick with "swapping" text encoder with CLIP image embeddings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions