Freddy Boulton c49a4264df
Fix local website build (#1980)
* Fix Dockerfiles

* Use local build

* Copy front-end instead of cdn

* frontend

* Fix build
2022-08-09 10:25:03 -04:00
..
2022-08-05 20:22:45 -07:00
2022-02-15 05:35:08 +04:00
2021-12-13 22:02:19 -08:00
2022-07-06 16:22:10 -07:00
2022-08-09 10:25:03 -04:00
2022-05-13 19:48:46 -07:00
2022-07-26 23:14:00 -07:00
2022-07-26 23:14:00 -07:00
2022-07-06 16:22:10 -07:00
2022-07-06 16:22:10 -07:00

Building Gradio Website

Run the following commands in order:

  • pip install -r requirements.txt
  • npm install
  • npm run build (or npm 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