nikigoli commited on
Commit
3d5d51d
1 Parent(s): df6a585

Update build_custom_prompter.sh

Browse files
Files changed (1) hide show
  1. build_custom_prompter.sh +8 -0
build_custom_prompter.sh CHANGED
@@ -1,4 +1,12 @@
1
  #!/bin/sh
 
 
 
 
 
 
 
 
2
 
3
  unzip gradio-image-prompter-visible-boxes-main.zip
4
  cd gradio-image-prompter-visible-boxes-main
 
1
  #!/bin/sh
2
+ # installs fnm (Fast Node Manager)
3
+ curl -fsSL https://fnm.vercel.app/install | bash
4
+ # download and install Node.js
5
+ fnm use --install-if-missing 20
6
+ # verifies the right Node.js version is in the environment
7
+ node -v # should print `v20.15.0`
8
+ # verifies the right NPM version is in the environment
9
+ npm -v # should print `10.7.0`
10
 
11
  unzip gradio-image-prompter-visible-boxes-main.zip
12
  cd gradio-image-prompter-visible-boxes-main