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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Replicate demo and API #30

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add Replicate demo and API #30

wants to merge 4 commits into from

Conversation

chenxwh
Copy link

@chenxwh chenxwh commented Apr 5, 2023

Hey @cene555, @razzant ! 馃憢

This pull request makes it possible to run your model inside a Docker environment, which makes it easier for other people to run it. We're using an open source tool called Cog to make this process easier.

This also means we can make a web page where other people can run your model! View it here: https://replicate.com/cjwbw/kandinsky-2

Replicate also have an API, so people can easily run your model from their code:

import replicate
model = replicate.models.get("cjwbw/kandinsky-2")
model.predict(prompt="")

We would like to transfer the ownership of the page to ai-forever organisation on Replicate so you can modify the page and push any update you like, let me if you are interested and we can easily set this up for you.

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. 馃槉

@angelch94
Copy link

Excellent job with this model.

I would love to use it in replicate but squared aspect ratios are not useful for my use case.
Would you mind adding height and width, or 16:9 aspect ratios as inputs in the replicate API?

@chenxwh
Copy link
Author

chenxwh commented Apr 25, 2023

@angelch94 you can set the height and weight in the latest version here

@skrashevich
Copy link

Absolutely non-woking PR

@zeke
Copy link

zeke commented May 8, 2023

Hey @cene555 and @razzant, this is one of my favorite models on Replicate, and has become my go-to for image generation.

Judging by the 馃憤馃徏 reactions, it looks like people are support of this PR. Have you had a chance to look at it? Wondering if there's anything blocking getting it merged.

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.

None yet

4 participants