Com Replicate makes it easy to run machine learning models in the cloud from your own code. Run AI with an API. Run and fine-tune open-source models. All with one line of code. With Com Replicate you can. Generate images.
-
Clone this repository to your local machine:
git clone https://github.com/GohYiHao/replicom.git
-
set the .env file
NEXT_PUBLIC_REPLICATE_API_TOKEN=<Your replicate.com api token>
-
Navigate to the cloned repository:
cd frontend
-
install the node packages:
npm install
-
run frontend
npm run dev
-
for build
npm run build
cd backend
pip install -r requirements.txt
Set the env.file
ENGINE=<Your postgreSQL engine>
NAME=<Your postgreSQL name>
USER=<Your postgreSQL user>
PASSWORD=<Your postgreSQL password>
Authorization=<Your replicate.com api token>
python manage.py run server