Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

how to start

  1. install node.js & npm

    Be here to visit the official website to install the latest version

  2. clone code and install the dependencies

    git clone https://github.com/Harmenlv/ITS_v1.git

    cd ITS_v1

    npm i @xenova/transformers

    npm install express cors

    npm install http-server

  3. run

    node ./server.mjs

    http-server -a localhost

    then click the link to enter the webpage(http://localhost:8080), no need to enter http://localhost:3000

    please note we need two terminal to run node ./server.mjs and http-server -a localhost (may be need run as administrator) in the same time, and for node ./server.mjs will need near 2 minutes to load the model, we can start to input untill the terminal shows 'Server is running on http://localhost:3000', just as the following image:

outcome

reference

  1. transformers.js
  2. nodesource/distribution

About

AI testing system

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages