countgd / build_custom_prompter.sh
nikigoli's picture
Update build_custom_prompter.sh
754de74 verified
raw
history blame
307 Bytes
#!/bin/sh
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y 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 ../..