Commit Graph

5298 Commits

Author SHA1 Message Date
pngwn
1650e1d383
4549 autoplay (#4705)
* changes

* tests

* revert demo

* changelog

* cleanup audio

* more tests

* handle video

* cleanup

* fix notebooks

* cleanup

* reinstate files

* fix notebooks

* fixes

* fix tests
2023-06-28 19:37:21 +01:00
Hannah
58c6d68f20
Add radio unit test (#4710)
* add radio unit test

* add default selection

* remove unused spy
2023-06-28 19:26:34 +01:00
pngwn
d08610af84
uopdate (#4706) 2023-06-28 15:15:59 +01:00
Freddy Boulton
b7072b1535
Fix blocks_kitchen_sink and streaming_stt demos (#4699)
* Add code

* Add json file

* Remove streaming_stt demo

* Undo generate_notebooks

* Add blocks_kitchen_sink
2023-06-27 20:55:34 -04:00
Freddy Boulton
29c916c9a6
Add success e2e test (#4688)
* Add success e2e test

* add demo notebook

* Fix

* Fix test

* Make modifications

* Dont use timeouts

* Format

* Success e2e test fix (#4698)

* try this

* tweak

* tweak

* tweak

* cleanup

* cleanup

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-06-27 15:34:52 -04:00
Aarni Koskela
9c551c316c
More proper deprecation warnings (#4694)
* Add GradioDeprecationWarning subclass

* Add and use find_user_stack_level(); add warn_deprecation()

* Deduplicate `.style()` deprecation warning

* Deduplicate inputs deprecation warnings

* Deduplicate outputs deprecation warnings

* Use warn_deprecation for deprecation warnings

* Changelog

* formatting

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-27 13:07:40 -05:00
renovate[bot]
a287ebeaeb
chore(deps): update dependency iframe-resizer to v4.3.6 (#4604) 2023-06-27 16:45:30 +01:00
Freddy Boulton
340718e6c2
Slider browser unit tests (#4681)
* First commit

* Fix test

* move to .config

* indent

* Upgrade pnpm

* Lint + ts

* Add more tests

* Lint

* fix test

* Use spy
2023-06-27 10:28:27 -04:00
pngwn
b7a52c410a
Test strat (#4676)
* start

* test strat/ principles

* Apply suggestions from code review

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

* Update test-strategy.md

* Apply suggestions from code review

* Apply suggestions from code review

* Update test-strategy.md

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-06-27 08:48:34 +01:00
Yuichiro Tachibana (Tsuchiya)
4fbdefe94e
Gradio-lite (Gradio Wasm) (#4402) 2023-06-27 08:09:50 +01:00
Freddy Boulton
3abad71ce4
Add requirements.txt to dialogpt demo (#4686)
* Add requirements.txt

* Update demo notebook

* Add torch
2023-06-26 19:21:53 -04:00
Freddy Boulton
86e3eec311
Remove cleared_value (#4685)
* Remove cleared_value

* CHANGELOG
2023-06-26 17:19:07 -04:00
Ilya Trushkin
b5121a96b2
Forward tqdm constructor arguments to Progress component (#4475)
* Forward tqdm constructor arguments to Progress component

Signed-off-by: Ilya Trushkin <ilya.trushkin@intel.com>

* lint

* reorder args

* added tests

---------

Signed-off-by: Ilya Trushkin <ilya.trushkin@intel.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-26 09:26:28 -05:00
aliabid94
7b8fbb17c8
fix upload file delay (#4661)
* fix

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-26 08:14:00 -05:00
Freddy Boulton
9e13cf3890
Audio Unit Tests (#4650)
* Add code

* Add better mocks

* Add tests

* Remove unnecessary import

* Remove unnecessary import

* unused import

* Check mocks

* Remove comment
2023-06-23 18:45:28 -04:00
Freddy Boulton
c7081e5747
Fix AnnotatedImage styling + add demo (#4628)
* Fix css + add demo

* CHANGELOG

* Add image_segmentation

* Add notebook

* Fix demo

* Fix demos
2023-06-23 12:49:26 -04:00
renovate[bot]
4a0e387e7b
chore(deps): update pypa/gh-action-pypi-publish digest to 3be882c (#4600)
* chore(deps): update pypa/gh-action-pypi-publish digest to 3be882c

* fix action version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-23 14:56:08 +01:00
pngwn
92d97d529e
switch unit test env to jsdom (#4657) 2023-06-23 13:22:12 +01:00
pngwn
6903b66283
ignore svelte (#4656) 2023-06-23 12:58:28 +01:00
pngwn
be00a687c9
Test improve (#4655)
* improve test logs for python process

* ensure port is free before startiong server
2023-06-23 12:45:20 +01:00
Abubakar Abid
86dc064e9e
Getting the CI to pass consistently on Windows (hopefully) (#4624)
* run windows jobs

* run windows jobs

* windows jobs

* remove interpretation

* restore

* fixes to checking port

* linting

* remove server name testing

* add timeout

* remove saveto

* remove saveto

* exception

* fixes

* fixes

* fixes

* backend

* cleanup

* changelog

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-06-22 15:23:48 -04:00
Dawood Khan
62701f8dce
Remove unnecessary mock json files (#4625)
* remove mock json files

* changelog

* Update CHANGELOG.md
2023-06-22 10:32:48 -04:00
pngwn
36f0b397c6
remove workbench (#4644) 2023-06-22 14:40:05 +01:00
pngwn
12bc241ecb
fix action (#4643)
* fix action

* changelog
2023-06-22 13:55:43 +01:00
renovate[bot]
633e07150d
chore(deps): update dependency typescript to v5 (#4640)
* chore(deps): update dependency typescript to v5

* fix ts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-22 13:49:28 +01:00
renovate[bot]
2f488e782c
chore(deps): update dependency postcss-custom-media to v9 (#4630)
* chore(deps): update dependency postcss-custom-media to v9

* fix custom media plugin

* make path absolute

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-22 13:43:34 +01:00
renovate[bot]
870786672c
chore(deps): update thollander/actions-comment-pull-request action to v2 (#4641) 2023-06-22 12:20:46 +01:00
renovate[bot]
04a37fced3
chore(deps): update dependency vite to v4 (#4639) 2023-06-22 12:07:34 +01:00
renovate[bot]
1570b94a02
chore(deps): update dependency tinyspy to v2 (#4638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 12:01:23 +01:00
renovate[bot]
090ced258c
chore(deps): update dependency svelte-vega to v2 (#4637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 11:46:52 +01:00
renovate[bot]
c33828cfdf
chore(deps): update dependency svelte-preprocess to v5 (#4636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 11:39:18 +01:00
renovate[bot]
13f75c12e6
chore(deps): update dependency svelte-check to v3 (#4633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 11:31:01 +01:00
pngwn
1b4cb3300b
Eslint (#4593)
* make eslint work

* add vscodes recommendations + settings

* more

* format

* add to ci but ignore failures

* fix

* fix lockfil

* fix

* Update .config/.eslintrc.cjs

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

* implement review suggestions

* typo

* fix

* tweak

* add globals and fix client linting

* fix type errors

---------

Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-06-22 11:25:27 +01:00
pngwn
00bd552041
fix (#4635)
* fix

* changes
2023-06-22 11:03:02 +01:00
renovate[bot]
727cf92907
chore(deps): update dependency node-html-parser to v6 (#4627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 10:56:12 +01:00
pngwn
2854915956
update config (#4634) 2023-06-22 10:41:18 +01:00
renovate[bot]
25e021157f
chore(deps): update dependency @types/marked to v5 (#4618)
* chore(deps): update dependency @types/marked to v5

* fix types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-22 10:34:54 +01:00
renovate[bot]
d0f38c528f
chore(deps): update dependency @testing-library/user-event to v14 (#4617)
* chore(deps): update dependency @testing-library/user-event to v14

* fix test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-22 10:26:43 +01:00
renovate[bot]
2922e512dd
chore(deps): update dependency @sveltejs/vite-plugin-svelte to v2 (#4614)
* chore(deps): update dependency @sveltejs/vite-plugin-svelte to v2

* tweak

* tweak

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-22 09:34:44 +01:00
renovate[bot]
826c5787f7
chore(deps): update dependency @testing-library/dom to v9 (#4616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 08:00:15 +01:00
Freddy Boulton
d1a46f161a
Use Literal Type Hint Where Possible (#4608)
* Use literal type hint

* Add type hint

* CHANGELOG

* PR review

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-21 15:13:12 -05:00
Aarni Koskela
a35e37b7e2
Add .git-blame-ignore-revs (#4586)
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-21 15:08:27 -05:00
Freddy Boulton
2e351ec6f2
Fix bug duplicating spaces with default cpu hardware (#4583)
* Fix bug

* Add CHANGELOG

* Fix test

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-21 14:57:24 -05:00
aliabid94
458b2d9bbd
Fix scale issues within Dropdown (#4584)
* changs

* changes
2023-06-21 12:34:12 -07:00
aliabid94
0909c35102
Duplicate spaces integration into gradio (#4458)
* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes
2023-06-21 12:25:25 -07:00
Aarni Koskela
4d1ad7c820
make_waveform: raise exception if ffmpeg fails (#4578)
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-21 13:34:33 -05:00
renovate[bot]
fa17457d07
chore(deps): update dependency @rollup/plugin-json to v6 (#4613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 19:25:16 +01:00
renovate[bot]
7266ca60ea
chore(deps): update dependency @fullhuman/postcss-purgecss to v5 (#4612)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 19:19:42 +01:00
renovate[bot]
0807a7c227
chore(deps): update actions/setup-python action to v4 (#4611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 19:15:52 +01:00
renovate[bot]
efbf3b3b06
chore(deps): update actions/checkout action to v3 (#4605)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 16:25:34 +01:00