Ali Abdalla
67275ec1d6
Add open in colab buttons to demos in docs and /demos ( #2608 )
...
* add generate_notebooks and run it
* add buttons to demos tab
* add buttons to docs
* add github check
* fix erros
* Update run.py
* Update run.py
* fix github action
* add nbformat
* wget files from demo directory
* testing with regex
* typo in github action
* cd first
* correct notebooks
* remove prit
* testing
* regenerate ids in notebooks
* testing action
* testing action
* testing action
* sort files before wget so no git diff
* skip DS store and others as sub files
* example demo change without notebook change
* fixes
* example demo change without notebook change
* example regenerated notebooks
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update .github/workflows/check-demo-notebooks.yml
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* gh action comments
* gh action syntax
* gh action syntax fixes
* test demo change without generating notebooks
* ran the suggested command
* remove unnecessary script
* add notebook for upload button demo
* switch to pull_request_target
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 16:56:46 -08:00
Freddy Boulton
a8f961ec7e
Fix demos ( #2648 )
2022-11-15 10:04:01 -05:00
Freddy Boulton
4a51cec5b4
Call fn by api_name when using Blocks.load ( #2593 )
...
* Updated implementation + test
* Add changelog
* Fix unit test
2022-11-02 13:38:56 -04:00
Ali Abdalla
bff43bfb65
Upload all demos to spaces ( #2281 )
...
* upload all demos in the repo to spaces
* remove upload_demos from recipes, fix error
* load docs and guides demos from spaces
* Remove old demos dir, container, nginx and docker-compose
* update landing page spaces through /demo
* fix run filenames
* skip demos without a run.py file
* fix embedding in guides and docs
* update only on version change
* fix restart script
* fix broken demos
* add component demos
* website tracking pip
* fix embedded components
* fix components
* fix extra slash
* remove footers correctly
* Update CHANGELOG.md
* fix race condition
* add inner_template to gitignore
* set runfile to run.py
* fix time.sleep after testing
* check for prereleases
2022-10-14 14:07:26 -07:00
Freddy Boulton
3f9ec2c345
Add a guide on how to use apps like functions ( #1799 )
...
* Add examples for series and parallel
* Create demo + guide
* More formatting
* Change name of guide
* Fix typo
* Use english to german as example instead
* Expand phrase a bit
2022-07-19 17:43:53 -04:00