-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +0,0 @@ | ||
# 🖍️ Scribble Diffusion | ||
|
||
Try it out at [scribblediffusion.com](https://scribblediffusion.com) | ||
|
||
## How it works | ||
|
||
This app is powered by: | ||
|
||
🚀 [Replicate](https://replicate.com/?utm_source=project&utm_campaign=scribblediffusion), a platform for running machine learning models in the cloud. | ||
|
||
🖍️ [ControlNet](https://replicate.com/rossjillian/controlnet?utm_source=project&utm_campaign=scribblediffusion), an open-source machine learning model that generates images from text and scribbles. | ||
|
||
▲ [Vercel](https://vercel.com/), a platform for running web apps. | ||
|
||
⚡️ Next.js [server-side API routes](pages/api), for talking to the Replicate API. | ||
|
||
👀 Next.js React components, for the browser UI. | ||
|
||
🍃 [Tailwind CSS](https://tailwindcss.com/), for styles. | ||
|
||
## Development | ||
|
||
1. Install a recent version of [Node.js](https://nodejs.org/) | ||
1. Copy your [Replicate API token](https://replicate.com/account?utm_source=project&utm_campaign=scribblediffusion) and set it in your environment: | ||
``` | ||
echo "REPLICATE_API_TOKEN=<your-token-here>" > .env.local | ||
``` | ||
1. Install dependencies and run the server: | ||
``` | ||
npm install | ||
npm run dev | ||
``` | ||
1. Open [localhost:3000](http://localhost:3000) in your browser. That's it! | ||