Abubakar Abid
dd97ee9940
Dropdown cutoff fix ( #4691 )
...
* form
* changelog
* overflow y
* changes
* changes
* changes
* Update js/form/src/DropdownOptions.svelte
Co-authored-by: Aarni Koskela <akx@iki.fi>
* Update js/form/src/DropdownOptions.svelte
Co-authored-by: Aarni Koskela <akx@iki.fi>
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-06-28 16:00:27 -05:00
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
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
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
Yuichiro Tachibana (Tsuchiya)
4fbdefe94e
Gradio-lite (Gradio Wasm) ( #4402 )
2023-06-27 08:09:50 +01: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
pngwn
92d97d529e
switch unit test env to jsdom ( #4657 )
2023-06-23 13:22:12 +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
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
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]
04a37fced3
chore(deps): update dependency vite to v4 ( #4639 )
2023-06-22 12:07:34 +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
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
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
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]
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
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
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
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
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
aliabid94
74d235697d
Fix chatbot height ( #4540 )
...
* changes
* changes
* changes
* changes
2023-06-15 14:58:31 -07:00
pngwn
979353454d
fix modal position ( #4538 )
...
* fix modal position
* changelog
2023-06-15 22:33:47 +01:00
aliabid94
42d762c616
Chatbot streaming hotfix ( #4537 )
...
* changes
* changes
* changes
* changes
2023-06-15 13:24:40 -07:00
Freddy Boulton
e0a7f87b94
Some BarPlot Fixes ( #4531 )
...
* Fixes
* CHANGELOG
* Fix
2023-06-15 14:29:40 -04:00
Hannah
7dc73d2bec
Amend error toast and pill styling ( #4454 )
...
* remove error gradient and add border to toast
* changelog
* tweak styling for light and dark error status and toast
* run prettier
* restore removed onclick
* remove formatting
* fix dracula test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-15 19:51:09 +02:00
pngwn
e7ab0f323a
4614 chatbot ( #4527 )
...
* fix code rendering
* tweak
* changelog
* tweaks
2023-06-15 16:24:17 +01:00
Dawood Khan
03edbc6f81
Adds Latex Delimiters Parameter ( #4516 )
...
* katex
* changes
* format
* fix test
* remove None
* changelog
* Update gradio/components/chatbot.py
* Update gradio/components/chatbot.py
* tweak
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-15 14:27:18 +01:00
Dawood Khan
72fbce22ad
Fixes new line issue in chatbot ( #4491 )
...
* fix
* Update CHANGELOG.md
2023-06-14 11:43:30 -04:00
pngwn
69291ff89d
improve error UX ( #4459 )
...
* improve error UX
* revert demo
* scroll errors into view if necessary
* changelog
* changelog
* fix error
* fix
* revert demo change
* implement review suggestions
* ensure error message are only trimmed if the begin and end with single quotes
* changelog
* attempt 2 at iframe scrolling
* tweak
2023-06-14 12:50:59 +01:00
Abubakar Abid
4729457929
Add a gr.ClearButton
( #4456 )
...
* clear button
* restore
* button in interface
* changelog
* fixes
* simplify
* changes
* components
* changed dropdown behavior
* fix label
* add tests
* update demos
* changelog
* changelog
* restore
* formatting
* revert dropdown
* frontend changes
* other fixes
* changelog
* update guide
* future
* fix tests
* fix tests
* fix tests
* changelog
* update guide
2023-06-13 19:18:14 -05:00
aliabid94
bda25eb19c
Fix JS call ( #4486 )
...
* changes
* changes
2023-06-12 19:24:09 -05:00
Freddy Boulton
3383d8872b
Add option to disable the detailed view of the gallery ( #4470 )
...
* Add feature
* Fix unit test
* CHANGELOG
* Rename to allow_preview
2023-06-12 17:11:41 -04:00
Jordi Mas
17a3be3d81
Add Catalan translation ( #4483 )
...
* Add Catalan translation
* Add CHANGELOG entry
2023-06-12 15:02:02 -05:00