gradio/scripts/run_frontend.sh

11 lines
186 B
Bash

#!/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 ui
pnpm i
pnpm dev
fi