nikigoli commited on
Commit
8c117ed
1 Parent(s): f170628

Update build_custom_prompter.sh

Browse files
Files changed (1) hide show
  1. build_custom_prompter.sh +4 -3
build_custom_prompter.sh CHANGED
@@ -1,7 +1,8 @@
1
  #!/bin/sh
2
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
3
- && apt-get install -y nodejs
4
- pip install npm
 
5
  unzip gradio-image-prompter-visible-boxes-main.zip
6
  cd gradio-image-prompter-visible-boxes-main/gradio-image-prompter-visible-boxes-main
7
  gradio cc install
 
1
  #!/bin/sh
2
+ curl -fsSL https://rpm.nodesource.com/setup_current.x -o nodesource_setup.sh
3
+ bash nodesource_setup.sh
4
+ yum install -y nodejs
5
+ node -v
6
  unzip gradio-image-prompter-visible-boxes-main.zip
7
  cd gradio-image-prompter-visible-boxes-main/gradio-image-prompter-visible-boxes-main
8
  gradio cc install