mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
* Fix Dockerfiles * Use local build * Copy front-end instead of cdn * frontend * Fix build
Building Gradio Website
Run the following commands in order:
pip install -r requirements.txt
npm install
npm run build
(ornpm run build-mac
on Mac OSX)
The website will be built in the build/ folder as a static website. To launch, run: cd build && python3 -m http.server