gradio/scripts/run_frontend.sh
Artin Mohammadi bdced314bc
Scripts become much easier to read and understand (#1918)
* Being nice to the user

* Front-end builder, CircleCI runner, and Gradio installer updated

* The testing scripts updated

* Front-end runner and the website launcher updated

* The formatters updated

* GitHub Actions and PyPI uploader scripts updated

* Updating the URLs

* Removing commented codes

* Delete a blank line
2022-08-01 15:17:03 -07:00

12 lines
132 B
Bash

#!/bin/bash
cd "$(dirname ${0})/.."
source scripts/helpers.sh
pnpm_required
echo "Running the frontend..."
cd ui
pnpm i
pnpm dev