diffae icon indicating copy to clipboard operation
diffae copied to clipboard

Add Replicate demo and API

Open chenxwh opened this issue 3 years ago • 0 comments

Hey @phizaz! 👋

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! Vew it here: https://replicate.com/cjwbw/diffae

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

import replicate
model = replicate.models.get("cjwbw/diffae")
model.predict(image="...")

If you'd like to modify the Replicate page (e.g. Example Gallery), let me know and I can transfer ownership to your account.

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

chenxwh avatar Aug 04 '22 16:08 chenxwh