gradio/website/homepage
Ömer Faruk Özdemir cc0cff893f Format The Codebase
- black formatting
- isort formatting
2022-01-21 16:44:12 +03:00
..
src modifying navbar 2022-01-18 15:39:55 -06:00
.dockerignore
.gitignore
Dockerfile fix static path 2021-12-27 11:20:21 -08:00
nginx.conf
package-lock.json modifying navbar 2022-01-18 15:39:55 -06:00
package.json
postcss.config.js
README.md
render_html.py Format The Codebase 2022-01-21 16:44:12 +03:00
replace_style_names.py Format The Codebase 2022-01-21 16:44:12 +03:00
requirements.txt
tailwind.config.js

Building Gradio Website

Run the following commands in order:

  • pip install -r requirements.txt
  • npm install
  • npm run build

The website will be built in the dist/ folder as a static website. To launch, run: cd dist && python3 -m http.server

Modifying the Website

The HTML and CSS template of the website should be modified in the src/ directory. To build changes, run npm run build. To automatically rebuild when you change a file in src/, run npm run watch.