mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
.. | ||
src | ||
.dockerignore | ||
.gitignore | ||
build.py | ||
Dockerfile | ||
nginx.conf | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
README.md | ||
requirements.txt | ||
tailwind.config.js |
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