From 4c52f930e536bbe7d891c507d570667c803c0765 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Wed, 9 Oct 2024 13:56:21 -0700 Subject: [PATCH] Document how to deploy to Replicate --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 53e1bf8..a9043b7 100644 --- a/README.md +++ b/README.md @@ -21,18 +21,25 @@ The code in this repo can be used as a template for customizations on FLUX.1, or First you need to select which model to run: ```shell -$ script/select.sh {dev,schnell} +script/select.sh {dev,schnell} ``` Then you can run a single prediction on the model using: ```shell -$ cog predict -i prompt="a cat in a hat" +cog predict -i prompt="a cat in a hat" ``` -For more documentation about how to interact with Cog models and push customized FLUX.1 models to Replicate: -* The [Cog getting started guide](https://cog.run/getting-started/) explains what Cog is and how it works -* [This guide](https://replicate.com/docs/guides/push-a-model) describes how to push a model to Replicate +The [Cog getting started guide](https://cog.run/getting-started/) explains what Cog is and how it works. + +To deploy it to Replicate, run: + +```shell +cog login +cog push r8.im// +``` + +Learn more on [the deploy a custom model guide in the Replicate documentation](https://replicate.com/docs/guides/deploy-a-custom-model). ## Contributing