Commit Graph

5279 Commits

Author SHA1 Message Date
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
pngwn
0ca7c34d44
tweak (#4606) 2023-06-21 16:16:56 +01:00
Freddy Boulton
29de12a7b0
Only run client tests on client changes (#4595) 2023-06-21 11:12:22 -04:00
renovate[bot]
6a92e19a0d
chore(deps): update all non-major dependencies (#4601)
* chore(deps): update all non-major dependencies

* Update website/homepage/Dockerfile

* changelog

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-21 15:56:10 +01:00
renovate[bot]
c66bba0ebf
Configure Renovate (#4597)
* Add renovate.json

* update config

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-21 15:43:04 +01:00
Hannah
2efa0b27ff
Add target="_blank" to links in markdown (#4577)
* add DOMPurify afterSanitizeAttributes hook

* changelog
2023-06-21 12:47:03 +02:00
Freddy Boulton
8c001ca769
Fix gallery style (#4576)
* Fix gallery styles

* CHANGELOG

* Fix preview height

* Add back height

* Add back height var

* Add back can_zoom logic

* can_zoom
2023-06-20 17:57:33 -04:00
Aarni Koskela
c6c545cfe0
Improve make_waveform (#4570)
* make_waveform: ensure input file exists

* make_waveform: avoid shell injection vulnerability (and as a side effect, support names with spaces)

* add test

* add test

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-20 12:19:15 -05:00
Freddy Boulton
249f1865e2
Send component data on stop_recording event (#4554)
* Send audio data

* Fix webcam input

* CHANGELOG
2023-06-20 10:44:25 -04:00
pngwn
7e99ce74c7
chore: update versions (#4358) 2023-06-20 14:23:01 +01:00
Ali Abdalla
44c766bd1a
Better plot demos for docs (#4528)
* scatter plot demo

* bar plot

* line plot

* notebooks

* adding demos to docstrings

* put demos in docstrings

* fixes

* notebooks

* show label

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-20 07:49:07 -05:00
Abubakar Abid
81f319c081
Hotfix for bug issue template (#4575)
* remove md

* bug report original

* bug report template

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2023-06-20 07:34:33 -05:00
Abubakar Abid
823922263a
Update issue template (#4568)
* Update bug_report_template.yml

* Update bug_report_template.yml

* Update .github/ISSUE_TEMPLATE/bug_report_template.yml

* address feedback
2023-06-20 07:01:47 -05:00
Abubakar Abid
68f7bd275c
Update pull request template (#4569)
* Update PULL_REQUEST_TEMPLATE.md

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: pngwn <hello@pngwn.io>

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-06-20 06:52:37 -05:00
pngwn
2b91d716c4
support changing the custom element src attributes (#4461)
* suppor changing the custom element src attributes

* changelog

* changelog again

* fix

* some fixes
2023-06-20 11:36:10 +01:00
Aarni Koskela
1068371b9f
Load iframe resizer asynchronously (#4336)
Refs #4332

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-19 21:11:51 +01:00
pngwn
d6b6c87c4f
Remove mocks (#4550)
* changes

* changes

* remove mocks

* fix scripts

* tweak port

* add logs

* add logs

* do tests again

* tweaks

* fixes

* regen notebooks

* change workers

* change workers

* try to speed up ci

* try again

* try again

* try again

* try again

* try again

* fix actions

* again

* again

* again

* again

* again

* again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* try again

* add names to frontend ci steps
2023-06-19 21:02:03 +01:00
Abubakar Abid
309baab7f6
setting visible=False to gr.Group hides it (#4567)
* import init

* visible=False in Group

* restore

* changelog

* Update js/app/src/components/Group/Group.test.ts

Co-authored-by: pngwn <hello@pngwn.io>

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-06-19 13:53:35 -05:00
Abubakar Abid
ee313c6c85
Restore some missing imports in __init__ (#4566)
* import init

* fix

* restore

* restore
2023-06-19 13:39:53 -05:00
Freddy Boulton
98d1e8d291
Fix gallery select event with custom height and allow_preview=False (#4551)
* Logic for can_zoom

* CHANGELOG
2023-06-17 14:11:14 -05:00