countgd / build_custom_prompter.sh
nikigoli's picture
Update build_custom_prompter.sh
5cf711f verified
raw
history blame
295 Bytes
#!/bin/sh
curl -fsSL https://deb.nodesource.com/setup_16.x
./setup_16.x
apt install nodejs
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 ../..