gradio/website/homepage
aliabid94 10f2e71df0
changes (#1287)
* changes

* changes
2022-05-16 12:55:27 -07:00
..
src changes (#1287) 2022-05-16 12:55:27 -07:00
.dockerignore Fixing Website Reload (#610) 2022-02-15 05:35:08 +04:00
.gitignore Website: WIP (#328) 2021-12-13 22:02:19 -08:00
Dockerfile Add embedded demos to website (#1270) 2022-05-16 11:45:38 -04:00
embedding-configs.json Website fixes (#1286) 2022-05-16 14:50:52 -04:00
netlify.toml Website Design Changes (#1015) 2022-05-13 19:48:46 -07:00
nginx.conf Website Design Changes (#1015) 2022-05-13 19:48:46 -07:00
package-lock.json Website Design Changes (#1015) 2022-05-13 19:48:46 -07:00
package.json Improves "Getting Started" guide (#1269) 2022-05-16 08:35:17 -07:00
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 Add embedded demos to website (#1270) 2022-05-16 11:45:38 -04:00
replace_style_names.py Format The Codebase 2022-01-21 16:44:12 +03:00
requirements.txt Improves "Getting Started" guide (#1269) 2022-05-16 08:35:17 -07:00
runtime.txt Website Design Changes (#1015) 2022-05-13 19:48:46 -07:00
tailwind.config.js Add embedded demos to website (#1270) 2022-05-16 11:45:38 -04: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.