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"
|
|
|
|
|
2023-01-17 10:56:26 -07:00
|
|
|
You can also view the model on Replicate [here](https://replicate.com/riffusion/riffusion). Owners
|
2022-12-29 13:23:39 -07:00
|
|
|
can push an updated version of the model like so:
|
2023-01-17 10:56:26 -07:00
|
|
|
|
|
|
|
# download weights locally if you haven't already
|
|
|
|
cog run python -m integrations.cog_riffusion --download_weights
|
2022-12-29 13:23:39 -07:00
|
|
|
|
2023-01-17 10:56:26 -07:00
|
|
|
cog login
|
|
|
|
cog push r8.im/riffusion/riffusion
|