Commit Graph

200 Commits

Author SHA1 Message Date
github-actions[bot]
c3a40dabf5
New Version Docs (#3239)
* [create-pull-request] automated change

* tweak

* tweak

---------

Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-19 12:52:33 -06:00
Ali Abdalla
1bc817a600
Sort components in docs by alphabetic order (#3152)
* alhabetic ordering of components

* changelog
2023-02-08 19:07:23 -08:00
Ali Abdalla
559de6eee9
Fix demos page css and add close demos button (#3151)
* close button for demo window

* fix demos page css, replace stable diffusion

* changelog

* demo notebook

* add scrollbar for demo window

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-08 18:54:48 -08:00
github-actions[bot]
ba67036df8
New Version Docs (#3147)
* [create-pull-request] automated change

* empty commit

---------

Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-02-07 13:45:55 -08:00
Ali Abdalla
0773205fdb
Better docs navigation on mobile (#3112)
* fix responsiveness of embedded lineplot

* regenerate notebook

* nav button and sidebar

* better styling

* fix broken quickstart link

* fix styling on close button

* styling

* undo assets change

* changelog

* refactor code

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-07 12:42:57 -08:00
github-actions[bot]
4a8381312f
New Version Docs (#3116)
* [create-pull-request] automated change

* trigger ci

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-02-02 10:03:39 -05:00
github-actions[bot]
201df3ae4b
New Version Docs (#3087) 2023-01-30 10:28:41 -08:00
Ali Abdalla
02c7bfe1ed
Adding missing embedded components on docs (#3027)
* add embedded component for dataset

* add embedded component for examples

* add embedded component for progress

* remove make_waveform

* add embedded component for uploadbutton

* remove footer on lineplot embedded component

* remove broken image from gallery

* add embedded component for interpretation

* generated notebooks

* changelog

* change example component demo to images

* remove natgeo img in gallery demo

* regenerate notebooks
2023-01-24 13:15:06 -08:00
Freddy Boulton
01469bfd87
Undo quickstart redirect (#3020) 2023-01-19 05:48:22 -05:00
Ali Abdalla
b0540d1a7b
Fix forwarding for guides after SEO renaming (#3017)
* remove .md from forwarding rules

* changelog
2023-01-18 16:59:42 -08:00
Ali Abdalla
2dec8a181f
Switch all pages on the website to use latest stable gradio (#3016)
* switch all pages to use latest stable

* changelog
2023-01-18 16:50:05 -08:00
Ali Abdalla
625ccae34c
SEO improvements to guides (#2915)
* replace underscores with dashes and redirect old urls

* tldrs, listicles, and in-site cross-linking

* add canonical tags to all pages

* changelog

* shorten into

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-18 08:44:56 -08:00
github-actions[bot]
8176d9496b
New Version Docs (#2989)
* [create-pull-request] automated change

* empty

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-01-16 05:31:08 -05:00
github-actions[bot]
d229654673
New Version Docs (#2952)
* [create-pull-request] automated change

* tweak

Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-08 10:39:33 +01:00
github-actions[bot]
5fc487cdfe
[create-pull-request] automated change (#2934)
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-01-05 11:49:05 -05:00
Ali Abdalla
1ae01b2005
Optimize images and gifs (#2922)
* convert gifs to html video

* optimize images

* changelog
2023-01-05 16:49:53 +02:00
Ali Abdalla
d77b0702d1
Add a components - events matrix on the docs (#2921)
* add components events matrix

* changelog
2023-01-03 17:45:09 +02:00
aliabid94
58b1a074ba
Add Progress Bar component (#2750)
* changes

* version

* changes

* fixes

* changes

* changes

* changes

* changes

* chagnes

* chagnes

* fix

* changes

* changes

* changes

* change

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* version update

* Commit from GitHub Actions (Upload Python Package)

* changes

* changes

* changes

* fix

* changes

* changes

* changes

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* changes

* changes

* changes

* changes

* change

* changes

* Update guides/01_getting_started/02_key_features.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/helpers.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/routes.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/helpers.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update guides/01_getting_started/02_key_features.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update guides/01_getting_started/02_key_features.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update demo/progress_simple/run.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update demo/progress_simple/run.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update demo/progress_simple/run.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update website/homepage/src/docs/template.html

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update website/homepage/src/docs/template.html

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* change

* changes

* changes

* changes

* change

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: GH ACTIONS <aliabid94@users.noreply.github.com>
2022-12-30 11:45:54 -08:00
aliabd
db83055108 fixed constructor 2022-12-21 21:20:21 +04:00
github-actions[bot]
77f29401f3
[create-pull-request] automated change (#2875)
Co-authored-by: freddyaboulton <freddyaboulton@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2022-12-21 20:57:19 +04:00
Ali Abdalla
a31f95580a
Redirect old links to specific hash (#2874)
* redirect old links to specific hash

* remove trailing slash
2022-12-21 20:46:19 +04:00
Ali Abdalla
9893166830
Fix css glitch and navigation in docs (#2856)
* fix css and navigation

* update changelog

* format backend

* fix css glitch in 3.14 docs

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-21 19:11:18 +04:00
Ali Abdalla
dc200af89c
Remove footers and min-height the correct way (#2860)
* fixes to readme

* add css to demos and remove footer js from html

* update changelog

* fix weird notebook

* fix weird notebook

* fix weird notebook

* fix weird notebook...

* actually fixed the problem
2022-12-21 19:01:42 +04:00
github-actions[bot]
7b1b202a9d
New Version Docs (#2835)
* [create-pull-request] automated change

* empty commit

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-12-16 04:42:01 +04:00
github-actions[bot]
6550d9a7a9
New Version Docs (#2829)
* [create-pull-request] automated change

* empty commit

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-12-15 19:38:03 +04:00
github-actions[bot]
ffbc2a2a44
[create-pull-request] automated change (#2818)
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
2022-12-14 20:09:56 -06:00
Freddy Boulton
9c8fa8bf45
Create docs for 3.13.0 + fix requirements.txt (#2811)
* Create docs + fix bug

* Changelog
2022-12-14 09:33:52 -05:00
Ali Abdalla
9af348cddd
Redirect old links and fix broken ones (#2774)
* redirect old links

* clean up nginx

* fix broken link in changelog

* fix broken links in guide

* fix broken links in other guide

* fix broken links in other guide

* move redirects from jinja to nginx

* changelog

* Update guides/06_other_tutorials/create_your_own_friends_with_a_gan.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-09 12:23:47 -08:00
github-actions[bot]
48bbdc5099
New Version Docs (#2744)
* [create-pull-request] automated change

* empty commit

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-11-29 15:57:08 -08:00
Ali Abdalla
19462299f1
Performance improvements to docs (#2730)
* load gradio js only on example click

* fix layout shift

* fix memory/cpu issues

* bring back loading gradio js for embedded components

* load gradio js on page load only for desktop

* small optimizations

* fix preload

* mobile responsive

* small fixes

* mobile responsiveness fix

* better font loading

* changelog
2022-11-28 11:23:38 -08:00
Ali Abdalla
78796f6efe
Fix id clashes in docs (#2713)
* fix id clashes

* changelog
2022-11-23 11:53:37 -08:00
Ali Abdalla
a433933dbc
Make try examples button more prominent (#2705)
* make try examples button more prominent

* changelog
2022-11-23 10:38:55 -08:00
github-actions[bot]
6dd790bfd9
New Version Docs (#2711)
* [create-pull-request] automated change

* empty commit

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-11-22 21:19:31 -08:00
Ali Abdalla
4b0820a9fb
Apply different formatting for the types in component docstrings (#2707) 2022-11-22 19:21:15 -08:00
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
Ali Abdalla
8edc91ff4b
Correctly building frontend in gradio wheel (colab bug) (#2679)
* correcting dockerfile

* add website build in dockr
2022-11-19 15:57:45 -08:00
github-actions[bot]
dbfa4dced1
New Version Docs (#2676)
* [create-pull-request] automated change

* empty commit

Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-11-18 15:15:30 -08:00
github-actions[bot]
36f1951305
New Version Docs (#2663)
* [create-pull-request] automated change

* allow empty

* [create-pull-request] automated change

Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
2022-11-17 13:35:37 -05:00
github-actions[bot]
46f4fdefba
New Version Docs (#2633)
* [create-pull-request] automated change

* allow empty

Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2022-11-11 11:44:45 -05:00
Freddy Boulton
9ec45f64b9
Move map to demos page (#2627) 2022-11-09 09:26:36 -05:00
Freddy Boulton
27d60792ea
Use underscore instead of parentheses (#2625) 2022-11-09 13:29:38 +01:00
Ali Abdalla
127279ad33
support quickstart paths (#2619) 2022-11-08 15:03:43 +01:00
Ali Abdalla
a80084f3df
Dropdown for seeing docs as latest or main (#2544)
* support docs for pip and git

* upload spaces with gradio wheel

* aws

* upload wheel to aws

* fix error in docker compose

* fix dockerfile

* fix dockerfile

* fix upload demos

* fix upload demos

* styling

* fake change

* remove check_version

* fixes

* fix buttons

* fix navigation on main

* add github action

* build version docs in docker

* fix path and docker errors

* add requests

* fix command

* more docker fixes

* more docker fixes

* no prerelease

* fix restart demos

* undo fake changes, and fix build_version

* fix variable

* fix mistake

* add how to build from main

* new line to requirements

* fix instructions

* Update CHANGELOG.md

* duplicate line in Dockerfile

* switch to github actions, use separate pages

* fix issues in github action

* fix path for github action

* more fixes

* more fixes

* fix github action

* add template

* fix demos template

* update release notes for 3.9

* add -A

* refactor

* keep old version htmls

* unpin gradio version in requirements

* Update website/homepage/src/docs/template.html

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-08 13:02:05 +01:00
Freddy Boulton
a6e72f7814
Fix some spaces that were not building (#2596)
* Add requirements

* Delete unused demo

* Remove some spaces from download

* explain reasoning
2022-11-02 17:47:53 -04:00
Freddy Boulton
fa08e711fa
Add live dashboard demo (#2573)
* Add live dashboard demo

* Remove markdown syntax

* Dont use global

* Undo change
2022-11-02 12:48:26 -04:00
Abubakar Abid
e360f159a9
Add support for loading Private Spaces using HF Token (#2568)
* pass token & add typing

* updated docstring

* reorg

* improve docs

* test for private space

* changelog

* addressing review

* fix tests

* fix websocket headers
2022-10-31 20:29:13 -07:00
Dawood Khan
83a038ea7a
Load Event Trigger (#2456)
* load event

* fixes

* reformat

* changelog fixes

* rename to uploadable

* formatting

* format

* add cancels

* Update CHANGELOG.md

* Create CHANGELOG.md

* Update CHANGELOG.md

* add batch
2022-10-25 20:58:12 -04:00
Freddy Boulton
943cdd5f35
Add dashboard demo to Demos tab (#2508)
* Add demo

* Changelog

* Undo

* Fix formatting
2022-10-25 11:15:18 -04:00
Ali Abdalla
4ffab3eb6c
Small fix for version check before reuploading demos (#2469)
* fix comparison for version

* Update CHANGELOG.md
2022-10-16 22:29:55 -07: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