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