Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Replicate demo and API support #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

zsxkib
Copy link

@zsxkib zsxkib commented May 21, 2024

Hey @lllyasviel team! 👋

This pull request integrates Replicate support into your IC-Light model, allowing users to run the model within a Docker environment using Cog.

Key features:

  • Replicate Demos:
  • Replicate API: Enables users to run the models directly from their code.

Example usage:

import replicate
output = replicate.run(
    "zsxkib/ic-light-background:60015df78a8a795470da6494822982140d57b150b9ef14354e79302ff89f69e3",
    input={
        ...
        "background_image": "https://replicate.delivery/pbxt/KxPIbJUjSmVBlvn0M3C8PAz6brN5Z0eyZSGcKIVw3XfJ6vNV/7.webp",
        "number_of_images": 1
    }
)
print(output)

In case you're wondering who I am, I'm from Replicate, where we're trying to make machine learning reproducible. We got frustrated that we couldn't run all the really interesting ML work being done. So, we're going round implementing models we like. 😊

readme updated w new badges + only return final output, not extra imgs
@sanebg
Copy link

sanebg commented Jun 3, 2024

Good luck. No API support is ridiculous, but hey, that's @lllyasviel . Drops something awesome that's half backed and then abandon it for the next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants