gradio/scripts/run_frontend.sh

10 lines
186 B
Bash
Raw Normal View History

#!/bin/bash
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
echo "Please run the script from repo directory"
exit -1
else
echo "Running the frontend"
cd frontend
2022-02-08 03:47:24 +08:00
npm run dev
fi