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  #13

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

Add Replicate demo and API  #13

wants to merge 1 commit into from

Conversation

chenxwh
Copy link

@chenxwh chenxwh commented Nov 2, 2022

Hey @amirhertz! 👋

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/prompt-to-prompt

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

import replicate
model = replicate.models.get("cjwbw/prompt-to-prompt")
output = model.predict(original_prompt="pink bear riding a bicycle")

You are more than welcome to modify the Replicate page (e.g. Example Gallery), let me know and I can transfer ownership to your Replicate account or under https://replicate.com/google-research.

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. 😊

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