Skip to content

replicate/node-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replicate Node Starter

This is a starter project for users who want to use the Replicate JavaScript client to run machine learning models in the cloud.

Prerequisites

  • You have installed Node.js version 18.
  • You have a Replicate API token.

Getting started

  1. Clone this repository.
  2. Install the dependencies with npm install.
  3. Add your Replicate API token by running cp .env.example .env and editing the .env file.
  4. Run the script with npm run predict or node index.js.

Contributing to This Project

To contribute to this project, follow these steps:

  • Fork this repository.
  • Create a branch: git checkout -b <branch_name>.
  • Make your changes and commit them: git commit -m '<commit_message>'
  • Push to the original branch: git push origin <project_name>/<location>
  • Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

About

A starter project for running machine learning models in the cloud with Replicate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published