Commit Graph

243 Commits

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

* Trigger Build

---------

Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-04-14 20:53:21 -07:00
github-actions[bot]
fbe55216ba
New Version Docs (#3850)
* [create-pull-request] automated change

* Trigger Build

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-04-14 11:14:23 -04:00
github-actions[bot]
0b725fbac1
[create-pull-request] automated change (#3829)
Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-04-12 02:18:09 -07:00
Abubakar Abid
5f8186218c
Document python client in gradio.app/docs (#3764)
* document py client

* more changes

* update docs

* changes

* fix tests

* formatting

* stash

* fix tests

* documentation

* more docs

* gradio client

* changes

* rework documentation

* add to docs

* modify dockerfile

* gradio client

* address feedback

* formatting

* gradio client version

* fix tests

* tweaks to website

---------

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-04-06 12:58:42 -07:00
Abubakar Abid
dbc61db4da
import (#3742) 2023-04-03 17:44:32 -07:00
Abubakar Abid
f50d6043db
Fix missing docstrings (new PR) (#3740)
* Move documentation for _js into docstring, not a stray comment

* Add missing argument docstrings (and remove non-existent ones)

* Add changelog entry

* updated docstrings

* changelog

* contributors

* changelog

* formatting

* removed _js

---------

Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-04-03 16:44:10 -07:00
Aarni Koskela
ef3862e075
Switch linting to Ruff (#3710)
* Sort requirements.in

* Switch flake8 + isort to ruff

* Apply ruff import order fixes

* Fix ruff complaints in demo/

* Fix ruff complaints in test/

* Use `x is not y`, not `not x is y`

* Remove unused listdir from website generator

* Clean up duplicate dict keys

* Add changelog entry

* Clean up unused imports (except in gradio/__init__.py)

* add space

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-03 15:48:18 -07:00
github-actions[bot]
ae6b49a1c3
New Version Docs (#3720)
* [create-pull-request] automated change

* Trigger Build

---------

Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-03-31 09:26:59 -05:00
github-actions[bot]
13682c7bbc
New Version Docs (#3715)
* [create-pull-request] automated change

* fix changelog

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-30 16:55:46 -07:00
Ali Abdalla
0df03a051f
Copy everything in website Dockerfile, fix build issues (#3659)
* dockerfile

* copy everything from repo

* correct dir

* changelog
2023-03-28 00:59:39 -07:00
pngwn
ae4277a9a8
move files (#3605)
* move files

* commit the rest of the files

* fix lockfile

* fix workflow

* fix type errors

* fix tests

* only run ci when certain files change

* run correct test command in ci

* version

* fix pypi script

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-27 16:12:58 -07:00
github-actions[bot]
b9f0822510
New Version Docs (#3557)
* [create-pull-request] automated change

* empty

* [create-pull-request] automated change

* trigger ci

* Add 3.23.0 docs

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
2023-03-21 11:23:26 -04:00
Freddy Boulton
8ec2b0b98a
Sharing themes (#3428)
* Rebase

* Remove build hooks

* Working implementation

* Add semver + unit tests

* CHANGELOG

* Add to docs

* Rename push_to_hub and fix typos

* Fix gallery

* Fix typo

* Address comments + tests

* Update gradio/themes/app.py

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

* Import Base as Theme. Use DefaultTheme() as fallback

* Fix types

* Make version and token truly optional

* Add version dropdown + tests

* trigger

* Support private themes and org_names

* Fix org_name typo

* Update wheel

* Fix font loading and dumping

* fixing tests

* fix tests

* formatting

* version

* remove requirements

* remove requirements

* formatting

* fix tests

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-18 20:15:02 -07:00
github-actions[bot]
27be008d58
New Version Docs (#3509)
* [create-pull-request] automated change

* trigger rerelease

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-18 17:54:22 -07:00
github-actions[bot]
8e59eb9f06
New Version Docs (#3505)
* [create-pull-request] automated change

* trigger refresh

---------

Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-18 13:55:31 -07:00
github-actions[bot]
d2a0bd02f5
New Version Docs (#3457)
* [create-pull-request] automated change

* trigger

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-13 18:29:42 -07:00
Ali Abdalla
f86b6445f8
Fix css issue with spaces logo (#3422)
* override css

* changelog
2023-03-08 15:37:56 -08:00
github-actions[bot]
0e0d1c181d
New Version Docs (#3392)
* [create-pull-request] automated change

* trigger ci

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-06 12:07:39 -08:00
github-actions[bot]
fba1bae3a5
New Version Docs (#3376)
* [create-pull-request] automated change

* empty commit

* [create-pull-request] automated change

* empty commit

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-03-03 18:43:05 -08:00
aliabid94
02fb8f5a1f
Updated chat ui (#3370)
* test

* changes

* chagnes

* changes

* changes

* changes

* changes

* Update CHANGELOG.md

* changes

* Update demo/chatbot_multimodal/run.py

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

* Update demo/chatbot_simple_demo/run.py

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

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-03 18:17:48 -08:00
Ali Abdalla
9682bc82db
Gradio Status Page (#3331)
* add status page to error message

* changelog

* link to status page on website

* move link to the right
2023-02-27 20:47:04 -08:00
github-actions[bot]
ab25bcc967
[create-pull-request] automated change (#3298)
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-02-23 11:35:58 -08:00
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
Ali Abdalla
57b6fb2013
Update website README.md with correct instructions on how to build website (#2858)
* fixes to readme

* removed unnecessary section
2022-12-21 18:41:02 +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