-
install node.js & npm
Be here to visit the official website to install the latest version
-
clone code and install the dependencies
git clone https://github.com/Harmenlv/ITS_v1.gitcd ITS_v1npm i @xenova/transformersnpm install express corsnpm install http-server -
run
node ./server.mjshttp-server -a localhostthen 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.mjsandhttp-server -a localhost(may be need run as administrator) in the same time, and fornode ./server.mjswill 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:
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|

