Skip to content

GohYiHao/replicom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 

Repository files navigation

Com Replicate

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.

Install

Frontend

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/GohYiHao/replicom.git
    
  2. set the .env file

    NEXT_PUBLIC_REPLICATE_API_TOKEN=<Your replicate.com api token>
    
  3. Navigate to the cloned repository:

    cd frontend
    
  4. install the node packages:

    npm install
  5. run frontend

    npm run dev
    
  6. for build

    npm run build
    
    

Backend

Installation

 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

How to run

image

image

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published