2
0
mirror of https://github.com/gradio-app/gradio.git synced 2025-03-25 12:10:31 +08:00
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