Spaces:
Sleeping
Sleeping
Update build_custom_prompter.sh
Browse files- 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
|