2022-12-26 18:25:17 -07:00
|
|
|
# Integrations
|
|
|
|
|
|
|
|
This package contains integrations of Riffusion into third party apps and deployments.
|
2022-12-29 13:23:39 -07:00
|
|
|
|
|
|
|
## Baseten
|
|
|
|
|
|
|
|
[Baseten](https://baseten.com) is a platform for building and deploying machine learning models.
|
|
|
|
|
|
|
|
## Replicate
|
|
|
|
|
|
|
|
To run riffusion as a Cog model, first, [install Cog](https://github.com/replicate/cog) and
|
|
|
|
download the model weights:
|
|
|
|
|
2022-12-30 21:42:04 -07:00
|
|
|
cog run python -m integrations.cog_riffusion --download_weights
|
2022-12-29 13:23:39 -07:00
|
|
|
|
|
|
|
Then you can run predictions:
|
|
|
|
|
|
|
|
cog predict -i prompt_a="funky synth solo"
|
|
|
|
|
|
|
|
You can also view the model on replicate [here](https://replicate.com/hmartiro/riffusion). Owners
|
|
|
|
can push an updated version of the model like so:
|
|
|
|
|
|
|
|
cog push r8.im/hmartiro/riffusion
|