Commit Graph

5308 Commits

Author SHA1 Message Date
Der Chien
4e4549c063
Fix Explanation Regarding NumPy Image Component (#4204)
* 20230513 swap np height and width in docs

* changelog

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-15 08:13:35 -04:00
pngwn
4c63a1d29a
fix token (#4208)
* fix token

* add label
2023-05-14 14:14:44 +01:00
pngwn
da5b4ee117
Fix semiver import (#4201) 2023-05-14 10:42:02 +01:00
LingFeng.Chen.Cn
3964b9be5f
Fix "TypeError: issubclass() arg 1 must be a class" When Optional args (#4200)
* fix "issubclass() arg 1 must be a class" when args is Optional

* Update CHANGELOG.md

add fix "TypeError: issubclass() arg 1 must be a class" when use Optional args

* Update gradio/helpers.py

Co-authored-by: Aarni Koskela <akx@iki.fi>

* changelog

* formatting

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-05-13 17:06:00 -04:00
pngwn
83134c10eb
client docs tweaks (#4196)
* ci typo

* fix

* again

* again

* again

* ignore workbench

* small tweaks for publish + docs
2023-05-12 23:24:30 +01:00
pngwn
8df714f32d
Fix npm publish again again (#4195)
* ci typo

* fix

* again

* again

* again
2023-05-12 22:23:24 +01:00
pngwn
c723f7f2c9
chore: update versions (#4188)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-12 22:07:07 +01:00
Freddy Boulton
8deab23623
Add format argument to Audio (#4178)
* experimental

* Add test

* Rename to format

* Rename

* CHANGELOG

* Add to docstring

* Update gradio/components.py

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

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-12 16:56:07 -04:00
pngwn
aecf8feb1d
Fix npm publish again again (#4193)
* ci typo

* fix

* again

* again
2023-05-12 21:37:10 +01:00
pngwn
402846020e
Fix npm publish again again (#4192)
* ci typo

* fix

* again
2023-05-12 21:22:41 +01:00
pngwn
45fcb0a190
Fix npm publish again again (#4191)
* ci typo

* fix
2023-05-12 21:03:26 +01:00
pngwn
a4748fb1f1
ci typo (#4190) 2023-05-12 20:40:54 +01:00
pngwn
9ff9735d1f
change (#4189) 2023-05-12 20:21:58 +01:00
pngwn
6e28936e1f
update token for npm action (#4187) 2023-05-12 20:00:12 +01:00
pngwn
ceeb96186b
Fix (#4186)
* bump client version

* ignore spaces-test

* fix
2023-05-12 19:31:34 +01:00
pngwn
67239ca9b2
bump client version (#4185)
* bump client version

* ignore spaces-test
2023-05-12 19:16:19 +01:00
pngwn
ef1049e3b2
update ci (#4184) 2023-05-12 18:58:17 +01:00
pngwn
963c2d26ee
3712 js client (#3899) 2023-05-12 16:22:25 +01:00
Abubakar Abid
fcf744a4a9
hotfix for test (#4173)
* hotfix for test

* removed comment
2023-05-11 16:49:41 -05:00
aliabid94
8ba4cceaf9
Dispatch dropdown change on value change for any reason (#4128)
* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-11 16:28:19 -05:00
github-actions[bot]
e3296378c6
New Version Docs (#4172)
* [create-pull-request] automated change

* Update v3.30.0_template.html

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-11 15:32:22 -05:00
Tom Aarsen
02bd90d7c1
[Docs] Resolve numerous typos (#4170)
* Resolve numerous typos

* Delete test.py

* Run generate_notebooks

* notebooks

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-11 15:20:41 -05:00
Abubakar Abid
d9acdfb7a3
Release 3.30 (#4166)
* release

* requirements
2023-05-11 15:05:55 -05:00
Abubakar Abid
e6198752c6
Adds missing components to gradio client serializing's component mapping (#4167)
* add missing serialization

* format

* update release note format

* update release note format

* fix test
2023-05-11 11:33:14 -05:00
Freddy Boulton
c4a884a9a7
Fix flaky interface test (#4168)
* Fix test

* Lint

* Fix vs code lint
2023-05-11 10:53:45 -05:00
Yuichiro Tachibana (Tsuchiya)
b169896a9a
Fix the wildcard in .editorconfig to match files in nested directories (#4165)
* Fix the wildcard in .editorconfig to match files in nested directories

* Remove a wrong whitespace in a brace expansion notation in .editorconfig

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-05-11 10:29:28 -04:00
Abubakar Abid
253410c78d
simplify format of changelog (#4163) 2023-05-11 08:11:49 -05:00
Yuichiro Tachibana (Tsuchiya)
29d3d81e54
Fix the prettier.ignorePath field in the VSCode workspace settings (#4164)
Co-authored-by: pngwn <hello@pngwn.io>
2023-05-11 13:58:44 +01:00
Yuichiro Tachibana (Tsuchiya)
3b744a5386
Update .prettierignore adding client/js/dist and .venv (#4160) 2023-05-11 13:43:53 +01:00
Freddy Boulton
3227a9b703
Fix api info for File component (#4153)
* Fix output file type info

* Fix example inputs

* CHANGELOG

* Update client

* Add test

* Bump version

* Bump min client version
2023-05-10 19:52:07 -04:00
Abubakar Abid
ccdaac1395
Record username when flagging (#4135)
* record username

* fix

* changelog fix

* format

* fix hf saver

* fix deserialization

* fixes
2023-05-10 14:49:49 -05:00
Abubakar Abid
2cf13a1c69
Fix isssue with running with nginx (#4133)
* nginx-root

* fix

* ability to set root path

* removed root

* removed root

* fix

* changelog

* Update gradio/routes.py

Co-authored-by: aliabid94 <aabid94@gmail.com>

* Update gradio/routes.py

Co-authored-by: aliabid94 <aabid94@gmail.com>

---------

Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-05-10 14:36:51 -05:00
Freddy Boulton
5e2c3c9ed6
Fix python client test (#4138)
* Fix python client test

* CHANGELOG

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-10 10:13:52 -05:00
Ali Abdalla
8e19e894a9
Fix website build issue (#4142)
* upgrade pnpm

* changelgo
2023-05-10 18:31:44 +04:00
Abubakar Abid
35f6c78402
changelog (#4136) 2023-05-10 00:58:05 -05:00
Yuichiro Tachibana (Tsuchiya)
d2314f9442
Fix dev docs (#4132)
* Move .config/README.md to js/README.md

* Link js/README.md from CONTRIBUTING.md

* Update CHANGELOG.md

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-09 16:38:38 -05:00
Ali Abdalla
128668d88a
Fix create version docs action (#4130)
* define version instead of upgrading

* add sleep

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-09 23:52:13 +04:00
github-actions[bot]
030a49b9eb
New Version Docs (#4131)
* [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-05-09 23:16:07 +04:00
Freddy Boulton
a65c4b5927
Bumpt client version (#4125) 2023-05-09 12:53:33 -04:00
Abubakar Abid
d7ec58126a
release (#4116) 2023-05-09 10:50:05 -05:00
Freddy Boulton
96c17a7470
Add support for async generators (#3821)
* Add impl + unit test

* CHANGELOG

* Lint

* Type check

* Remove print

* Fix tests

* revert change

* Lint

* formatting

* Fix test

* Lint

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-05-08 23:21:47 -05:00
Abubakar Abid
f1703d5f53
Fixes to view API page (#4112)
* logo

* fix for new info and logo path

* changelog

* remove example_input from returns

---------

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-05-08 22:35:46 -05:00
aliabid94
a3a34697ad
Fix then logic to work after failures (#4115)
* change

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-08 22:16:54 -05:00
space-nuko
fab7642414
Fix slider released event not triggering when released on mobile (#4098)
* Fix slider released event not triggering when released on mobile

* Update CHANGELOG

* fix range test

* retrigger

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-08 21:10:26 -05:00
aliabid94
5ef0bfeefc
Allow textbox / number submits to trigger Interface submit (#4090)
* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-08 20:51:05 -05:00
aliabid94
1910df10d9
Upload audio ios (#4071)
* changes

* changes

* change

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-08 20:35:52 -05:00
Freddy Boulton
c7f4a88150
Dont send request to /info if version before 3.28.3 (#4109)
* Add code

* Lint

* CHANGELOG

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-08 17:18:28 -04:00
Abubakar Abid
dccf68d914
Removing "State" from view API info (#4107)
* wip pr

* update client version

* update space fetcher

* changelog, workflow

* fix not flaky tests

* lint

* v2
2023-05-08 15:47:40 -05:00
Abubakar Abid
bebfb72b35
Misc file and docs fixes (#4086)
* uvicorn version

* uvicorn version

* changes

* guides

* guide

* changelog

* typo

* typo

* Update guides/04_integrating-other-frameworks/01_using-hugging-face-integrations.md

* chinese lang

* rename

* Update guides/04_integrating-other-frameworks/01_using-hugging-face-integrations.md

* Update guides/03_building-with-blocks/04_custom-CSS-and-JS.md

Co-authored-by: aliabid94 <aabid94@gmail.com>

* address review

* simplify section

---------

Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-05-07 08:48:24 -05:00
Abubakar Abid
de7b35adfb
Theme builder fixes (#4080)
* theme-builder-fixes

* theme-builder-fixes

* fix expand issue

* changes

* Update gradio/themes/builder_app.py

* changelog

---------

Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-05-06 08:15:41 -05:00