gradio/website/homepage
2022-02-17 16:10:51 +04:00
..
src removed duplicate related_spaces and tags (#649) 2022-02-17 16:10:51 +04:00
.dockerignore Fixing Website Reload (#610) 2022-02-15 05:35:08 +04:00
.gitignore
Dockerfile fixed mkdir in dockerfile (#612) 2022-02-15 06:27:30 +04:00
nginx.conf
package-lock.json Guides Section and Redesign Parts of the Website (#490) 2022-02-05 01:42:49 +04:00
package.json
postcss.config.js undo pretty format of website 2022-02-14 16:50:15 -05:00
README.md undo pretty format of website 2022-02-14 16:50:15 -05:00
render_html_helpers.py Format-The-Codebase 2022-02-09 10:40:05 +03:00
render_html.py python format fix [hotfix] (#615) 2022-02-14 21:03:51 -08:00
replace_style_names.py Format The Codebase 2022-01-21 16:44:12 +03:00
requirements.txt Guides Section and Redesign Parts of the Website (#490) 2022-02-05 01:42:49 +04:00
tailwind.config.js undo pretty format of website 2022-02-14 16:50:15 -05:00

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.