countgd / build_custom_prompter.sh
nikigoli's picture
Update build_custom_prompter.sh
8c117ed verified
raw
history blame
346 Bytes
#!/bin/sh
curl -fsSL https://rpm.nodesource.com/setup_current.x -o nodesource_setup.sh
bash nodesource_setup.sh
yum install -y nodejs
node -v
unzip gradio-image-prompter-visible-boxes-main.zip
cd gradio-image-prompter-visible-boxes-main/gradio-image-prompter-visible-boxes-main
gradio cc install
npm i -D @gradio/preview
gradio cc build
cd ../..