mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-09 02:00:44 +08:00
c3a40dabf5
* [create-pull-request] automated change * tweak * tweak --------- Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
---|---|---|
.. | ||
src | ||
.dockerignore | ||
.gitignore | ||
build-version-docs.py | ||
build.py | ||
Dockerfile | ||
nginx.conf | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
README.md | ||
requirements.txt | ||
restart_demos.py | ||
tailwind.config.js | ||
upload_demos.py | ||
utils.py |
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