renovate[bot]
fe3e03abdc
chore(deps): update dependency iframe-resizer to v5 ( #8347 )
...
* chore(deps): update dependency iframe-resizer to v5
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-22 11:06:07 +01:00
pngwn
fe91e10269
chore: update versions ( #8335 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-21 21:01:35 +00:00
pngwn
32e2b64042
chore: update versions ( #8320 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-17 14:30:02 -07:00
Abubakar Abid
8f46556b38
Fix api recorder ( #8247 )
...
* fix api recorder
* add changeset
* call data
* fix
* changes
* add changeset
* changes
* format frontend
* lint
* changes
* format
* add changeset
* changes
* add changeset
* fixes
* add changeset
* fix'
* format
* fixes
* add changeset
* add test
* format
* changes
* fix backend tests
* changes
* format
* fix py tests
* push
* data
* add logging
* remove console log
* fix root
* remove console
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-17 13:37:44 -07:00
pngwn
11b88915d3
chore: update versions ( #8291 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-16 00:23:53 +02:00
Freddy Boulton
4350215348
Link to troubleshooting guide in the custom component loading status ( #8279 )
...
* Add code
* Add code
* add changeset
* Add code
* remove unused style
* add changeset
* Update js/app/src/Index.svelte
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/06_custom-components/06_frequently-asked-questions.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/06_custom-components/06_frequently-asked-questions.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-05-14 23:02:45 +00:00
pngwn
053316dd0f
chore: update versions ( #8286 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-14 12:45:39 +00:00
pngwn
ca8864f514
chore: update versions ( #8274 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-13 23:23:49 +00:00
Abubakar Abid
de52f0e5af
Reduce the analytics that are collected in Gradio ( #8263 )
...
* reduce analytics
* add changeset
* mark flaky
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-05-13 23:10:08 +00:00
pngwn
fbf4edde7c
Client fixes ( #8272 )
...
* fix param name
* fix hidden state variable
* pass jwt to heartbeat event
* notebooks
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 15:35:07 +01:00
pngwn
30463c5e15
chore: update versions ( #8225 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-10 19:31:04 +01:00
Hannah
e09b4e8216
Add support for passing keyword args to data
in JS client ( #8197 )
...
* allow passing kwargs to data param
* add changeset
* tweak
* update data usage in client/js readme
* more readme tweaks
* edit codesnippet
* add changeset
* check parameters exist
* add changeset
* test
* remove null check
* remove test
* use api_info
* unit tests
* type tweak
* test
* remove unused vars
* tweak
* import semiver
* tests tweak
* format code snippet
* feedback changes
* format
* typefix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-10 19:46:28 +02:00
Dawood Khan
bf909bd145
Change upload icon for MultimodalTextbox ( #8236 )
...
* icon
* add changeset
* add changeset
* test fix
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 23:32:28 -04:00
Yuichiro Tachibana (Tsuchiya)
32d915aad5
Apply clean_indent() to the file contents specified with <gradio-file> tags ( #8219 )
...
* Apply clean_indent() to the file contents specified with <gradio-file> tags
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 12:49:24 -05:00
pngwn
22df61a26a
Client node fix ( #8252 )
...
* fix client in node
* run all client tests in ci
* add changeset
* fix types
* add changeset
* format
* types
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 12:06:28 +01:00
aliabid94
5436031f92
Render decorator 2 ( #8110 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changeas
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* cganges
* changes
* changes
* changes
* changes
* add changeset
* changes
* chagnes
* changes
* changes
* changes
* changes
* remove console log
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-06 08:36:07 -07:00
pngwn
be2b1e1261
chore: update versions ( #8172 )
2024-05-03 19:06:05 +01:00
Hannah
b9afe93915
Rename eventSource_Factory
and fetch_implementation
( #8209 )
...
* rename eventSource_factory -> stream_factory + rename event_source -> steam
* rename fetch_implementation -> fetch
* rename fetch to _fetch due to global.fetch conflict
* add changeset
* format
* format
* format
* format
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-03 15:24:19 +02:00
renovate[bot]
f5b710c919
chore(deps): update dependency eslint to v9 ( #8121 )
...
* chore(deps): update dependency eslint to v9
* update deps + fix things
* add changeset
* fix preview
* add changeset
* lockfile
* format
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-03 09:57:08 +01:00
Hannah
cf52ca6a51
Ensure connectivity to private HF spaces with SSE protocol ( #8181 )
...
* add msw setup and initialisation tests
* add changeset
* add eventsource polyfill for node and browser envs
* add changeset
* add changeset
* config tweak
* types
* update eventsource usage
* add changeset
* add walk_and_store_blobs improvements and add tests
* add changeset
* api_info tests
* add direct space URL link tests
* fix tests
* add view_api tests
* add post_message test
* tweak
* add spaces tests
* jwt and protocol tests
* add post_data tests
* test tweaks
* dynamically import eventsource
* revet eventsource imports
* add jwt param to sse requests
* add stream test
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-02 23:05:56 +02:00
Freddy Boulton
d0a759f3df
Pass Error status in /dev/reload stream ( #8106 )
...
* get error message
* Support multiple clients
* add changeset
* add changeset
* add changeset
* Display in UI
* console.error the python traceback
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-01 22:21:54 +00:00
pngwn
6a218b4148
rework upload to be a class method + pass client into each component ( #8179 )
...
* rework upload to be a class method + pass client into each component
* add changeset
* Update client/js/src/utils/upload_files.ts
* fix storybook
* review comments
* Apply suggestions from code review
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* format
* ts fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-05-01 14:55:41 +00:00
Yuichiro Tachibana (Tsuchiya)
a81e36967c
Remove hatch installation in js/app/package.json which is no longer needed ( #8174 )
...
* Remove hatch installation in js/app/package.json which is no longer needed
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-01 07:45:38 +09:00
Hannah
bed2f82e22
Implement JS Client tests ( #8109 )
...
* add msw setup and initialisation tests
* add changeset
* add walk_and_store_blobs improvements and add tests
* add changeset
* api_info tests
* add direct space URL link tests
* fix tests
* add view_api tests
* add post_message test
* tweak
* add spaces tests
* jwt and protocol tests
* add post_data tests
* test tweaks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-30 18:50:38 +02:00
Yuichiro Tachibana (Tsuchiya)
611c9273a3
Lite wheel optimization ( #7855 )
...
* Add `pull_request.branches.main` as a trigger of the `publish` workflow
* [WIP] Comment out the publish steps
* Package and upload the NPM package for debug
* Skip the copy_frontend.py hook in the Lite build
* add changeset
* [WIP] Show gradio files
* [WIP] Show gradio files
* Comment out installing the gradio and gradio_client libraries
* Restore installing gradio_client because it's used by `python js/_website/generate_jsons/generate.py` that follows
* Restore installing gradio because it's used by `python js/_website/generate_jsons/generate.py` that follows
* Add code
* Revert "[WIP] Show gradio files"
This reverts commit e15fef29bd14671576e64d94d3b844786ebe7e83.
* Build the gradio wheel with the custom lite target
* add changeset
* Revert "[WIP] Show gradio files"
This reverts commit aef053f9caad203c7e1bbfa15e9f9e536f77442a.
* Revert "Skip the copy_frontend.py hook in the Lite build"
This reverts commit ca296d0e4e169adbb6af3705561869aa8c9037b7.
* Update .github/actions/install-frontend-deps/action.yml for hatch installation
* [WIP] Fix test-functional.yml and .github/actions/install-all-deps/action.yml to call the setup actions in this branch
* Revert "[WIP] Fix test-functional.yml and .github/actions/install-all-deps/action.yml to call the setup actions in this branch"
This reverts commit 571823b4a05f7e41e0b3731d51c5bd86b2e17ddc.
* Comment-in lines in publish.yml
* Move Lite build from publish.yml to deploy-spaces.yml
* Use the build_lite option of install-all-deps instead of running the build command
* [TMP] Change the branch of action files
* Fix the hatch Lite build setting
* Return pnpm pack to deploy-space
* Revert "[TMP] Change the branch of action files"
This reverts commit fe4e1c8f210eb21ac7ee1bd4b219d35e1ae84c85.
* Remove dependencies for lite build
* [TMP] Change the branch of action files
* Revert "Remove dependencies for lite build"
This reverts commit 856a858c1f49d736bfeb056ba0ec7e9bc35af29c.
* Install packaging>=23.2
* [TMP] Show packaging version
* Fix pip install
* Fix
* Uninstall packaging once
* Use `pip install -U` instead of uninstalling the exiting version
* Revert "[TMP] Show packaging version"
This reverts commit 910b6bbde3dc8777c051bd5576813913d57959f7.
* Add `-U` flag
* Set packaging version as >=23.2
* Revert the changes on pip install
* Set packaging version as >=23.2 in requirements.txt
* Revert "Set packaging version as >=23.2"
This reverts commit 8aa77c8930815e69d7256886cad88b6da8361069.
* Fix hook name
* Revert "Set packaging version as >=23.2 in requirements.txt"
This reverts commit fbd605cbfb5d06706eacc0648a2e9d7816c9de1f.
* Revert "Revert the changes on pip install"
This reverts commit 81ff38a660635fce9cb17862a2072e4d169c3466.
* Add comments
* Revert "[TMP] Change the branch of action files"
This reverts commit 0d6aa48d75a842db9b3987212deffedb0c0ca51d.
* Revert the trigger of .github/workflows/deploy-spaces.yml
* Remove unused `node_auth_token` and `npm_token` inputs from the `install-all-deps` action
* [TMP] Trigger CI based on this PR
* Remove packging installation
* Revert "Remove packging installation"
This reverts commit 4a4f18de3a
.
* Revert "[TMP] Trigger CI based on this PR"
This reverts commit 6cea830c8e
.
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-04-30 03:18:13 +00:00
Yuichiro Tachibana (Tsuchiya)
c452acb0f6
Add tests for Lite custom element parser ( #8081 )
...
* Add tests for Lite custom element parser
* Fix the tests to detect the error #8067 fixed
2024-04-26 09:55:48 +09:00
pngwn
dfd03f38bd
chore: update versions ( #8069 )
...
* chore: update versions
* Revert @gradio/code
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-04-25 23:08:27 +00:00
Yuichiro Tachibana (Tsuchiya)
595ebf74c5
Cache an error from app.submit() and show it on frontend ( #8115 )
...
* Cache an error from app.submit() and show it on frontend
* Fix typing
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-25 22:26:06 +01:00
aliabid94
2e469a5f99
Using keys to preserve values between reloads ( #8056 )
...
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* rev pn
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-25 11:25:53 -07:00
Yuichiro Tachibana (Tsuchiya)
d665f40970
Fix custom JS function caller to concat the outputs of a dep to the inputs as the arguments ( #8051 )
...
* Fix custom JS function caller to concat the outputs of a dep to the inputs as the arguments
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-23 13:26:34 +09:00
renovate[bot]
659d3c51ae
chore(deps): update dependency iframe-resizer to v4.3.11 ( #8092 )
...
* chore(deps): update dependency iframe-resizer to v4.3.11
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-22 09:35:35 -07:00
Hannah
1c99570f3c
Adjust View Api
container z-index
( #8084 )
...
* update z-index to layer-top
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-20 04:09:06 +02:00
Hannah
450b8cc898
Refactor JS Client ( #7646 )
...
* initial setup
* fix hf token prefix
* warnings + error handling
* implement stream, predict and submit
* update blocks with new client
* add changeset
* temp comment
* add changeset
* add sse_v3 chages
* imrpove typing, reimplement websocket logic
* refactor zerogpu logic
* integrate fetch_implemenation
* wasm changes
* tweaks
* tscheck fixes
* type fixes
* test
* test import tweaks
* test
* package.json
* improve typing + config
* config tweak
* remove fetch-mock
* pnpm lock
* config
* remove module
* tweak
* tweak
* fix config
* test
* test
* lockfile
* fix types
* more config tweaks
* type fixes
* formatting
* fix typing
* formatting
* type fixes
* test
* lockfile
* revert comment
* package.json
* tweak
* formatting
* test
* revert ts removal
* remove comments + logic fixes
* type fix
* formatting
* test
* stream logic changes
* fix test
* revert comments
* fix streaming test
* stream tweak
* data typing
* fix wasm fetch
* client typing tweaks
* more fixes + typing improvements
* move functions
* event_source tweaks
* cleanup
* add hardware types and cleanup jwt
* improve api info typing
* add await client() backwards compatiblity
* rename create to connect and move duplicate logic
* Update `Client` usage examples (#8003 )
* update client examples
* remove test data
* fix types
* remove types changes
* client -> Client.create
* Update client/js/README.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update client/js/README.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* update duplicate docs
* attempt to update cn docs
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* type improvements and config error handling
* fix image editor issue
* Merge branch 'main' into refactor-client
* improve typing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-19 23:36:13 +02:00
Yuichiro Tachibana (Tsuchiya)
0fb058ec23
Fix the Lite custom element parser so it doesn't add the .code option when the entrypoint file is already specified ( #8067 )
...
* Fix the Lite custom element parser so it doesn't add the .code option when the entrypoint file is already specified
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-20 06:26:42 +09:00
Freddy Boulton
2afca65419
Add max_file_size
parameter to launch()
that limits the size of files that can be uploaded in the Gradio app ( #7909 )
...
* File size limits
* Implementation
* add changeset
* Fix tests
* python client support
* lint
* fix test
* lint
* add changeset
* Set at the blocks level
* add changeset
* type check
* format
* lint
* lint
* Delete files as soon as they're encountered
* fix tests
* type hint 🙄
* Fix tests
* Fix below limit test
* add changeset
* Fix tests
* Add client file
* revert loop code
* Add to guides
* Pass in via gradio component
* add changeset
* Update loading status
* Make errors closeable
* add changeset
* Add code
* Lint
* Changelog highlight
* Fix i18n in storybook
* Address comments
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-19 15:38:53 -04:00
pngwn
ddc5d3866c
chore: update versions ( #7992 )
...
* chore: update versions
* changeset
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-18 18:09:10 +00:00
renovate[bot]
cecd6e4c4a
Update dependency iframe-resizer to v4.3.10 ( #8062 )
...
* Update dependency iframe-resizer to v4.3.10
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-18 10:18:29 -07:00
Yuichiro Tachibana (Tsuchiya)
522daf787a
Patch async_save_url_to_cache
for Lite ( #8026 )
...
* Update `async_save_url_to_cache` to work on Wasm
* Refactoring `save_url_to_cache`
* add changeset
* Fix
* Use pyodide.http as a custom transport of httpx
* Use urllib3 as a custom transport of httpx to make sync http requests
* Add an E2E test case to detect the bugs on remote resource caching
* add changeset
* Add image_remote_url E2E test
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-17 03:54:34 +09:00
Yuichiro Tachibana (Tsuchiya)
c9ddd847d6
Update the Lite custom element parser ( #7975 )
...
* Update the Lite custom element parser to deal with the text inside `<gradio-lite>` when there is no `<gradio-code>` elements, which works with other custom elements like `<gradio-requirements>`
* add changeset
* Remove `.trim()`
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-16 07:19:02 +09:00
pngwn
6fafce0670
ensure maps are correctly shallow cloned when updating state ( #8028 )
...
* ensure maps are correctly shallow cloned when updating state
* cleanup
* add changeset
* fix test
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-15 17:26:15 -04:00
pngwn
dbb7373dde
ensure ImageEditor
events work as expected ( #7845 )
...
* changes
* changes
* more fix
* more fix
* add changeset
* fix initial crop
* fix format
* fix format
* fix formats
* faster?
* race condition
* fixes + test
* fix type?
* notebooks
* fix type
* change demo
* add changeset
* fix type
* fix type
* fix type again
* fix type again again
* lint
* lint again
* fix test
* tests
* fix
* tests
* address comments
* fix notebooks
* fix tests
* fix stories
* fix webcam ui
* cleanup
* add changeset
* fix input event
* add format param + fix input event
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-15 20:16:07 +00:00
Freddy Boulton
8903415e49
Add show_progress prop to Upload Component to bring back upload progress animation ( #8002 )
...
* Add show_progress prop
* add changeset
* Add code
* skip for now
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-11 15:30:30 -07:00
Freddy Boulton
c1df2f818c
Fix example loading for custom components ( #7981 )
...
* format
* add changeset
* add changeset
* Update component
* Add tests
* Add code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-10 17:52:41 -04:00
Lucain
5f0248e797
When authenticating with HF OAuth, stay in same tab ( #7887 )
...
* OAuth: stay in same tab
* add changeset
* add changeset
* typo
* scroll
* add changeset
* lint
* test
* test with timeout
* log
* new test
* fix origin in postMessage
* with timeout
* shoud be fine
* lint
* lint
* remove logs
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-10 14:15:26 +01:00
pngwn
b561a27816
chore: update versions ( #7914 )
2024-04-08 20:07:24 +01:00
aliabid94
7c9a964ac6
Fix programmatic tab selection ( #7916 )
...
* changes
* changes
* add changeset
* changes
* add changeset
* changes
* add changeset
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-08 11:34:25 -07:00
pngwn
1eb4c20120
ensure kwargs are always in sync across the whole application ( #7963 )
...
* ensure kwargs are always in sync across the whole application
* add changeset
* fix test
* update accordion test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-08 18:12:14 +01:00
Freddy Boulton
b78129d90f
Use asyncio.Event to stop stream in heartbeat route ( #7932 )
2024-04-05 11:57:49 -07:00
aliabid94
9666854790
Fixes streaming event race condition ( #7926 )
...
* changes
* add changeset
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-04 12:39:44 -07:00
Ali Abdalla
b43055b297
Lite playground design changes ( #7811 )
...
* prevent new line on cmd+enter shortcut
* add copy button
* add download button
* better font sizing and align editor buttons
* button colors and header positioning
* add layout attribute
* height issue
* border fix
* overflow
* add changeset
* tests
* tweaks to index
* fix formatting in index.html
* fix event listener
* better alignment on header
* fix padding on code editor buttonsm
* add dark mode
* formatting
* fix heights issues
* add to guide
* shared worker and small fix
* Update guides/08_gradio-clients-and-lite/gradio-lite.md about SharedWorker mode (#7923 )
* layout edit in guide
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-04-04 04:38:12 -07:00
Abubakar Abid
2bae1cfbd4
Adds an "API Recorder" to the view API page, some internal methods have been made async ( #7850 )
...
* changes
* code recorder
* api docs
* add changeset
* changes
* change
* add changeset
* add changeset
* changes
* fixes
* format
* changes
* fix
* add changeset
* rename
* api recorder
* docs
* changes for pr
* fix
* async-ify
* add changeset
* fix typing
* fixes
* fix test/test_blocks
* fix more tests
* fix test
* add changeset
* fix more tests
* add async version
* make 2 separate functions
* format
* fix
* format
* fix tests
* move resource
* changes
* fix cache
* lite fixes
* make lazy cache async
* fix
* fix
* flaky
* replace null with None
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-03 14:28:06 -07:00
Freddy Boulton
efd9524508
Fix gr.CheckboxGroup change event ( #7915 )
2024-04-03 07:19:58 -07:00
pngwn
bbdbd28453
chore: update versions ( #7871 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 13:33:48 -04:00
Freddy Boulton
6a4bf7abe2
Delete user state when they close the tab. Add an unload event for the demo and a delete_callback on gr.State to let developers control how resources are cleaned up ( #7829 )
...
* Delete state
* add changeset
* Delete state
* WIP
* Add load event
* Working ttl
* unload e2e test
* Clean up
* add changeset
* Fix notebook
* add changeset
* Connect to heartbeat in python client
* 15 second heartbeat
* Demo for unload
* Add notebook
* add changeset
* Fix docs
* revert demo changes
* Add docstrings
* lint 🙄
* Edit
* handle shutdown issue
* state comments
* client test
* Fix:
* Fix e2e test
* 3.11 incompatibility
* delete after one hour
* lint + highlight
* Update .changeset/better-tires-shave.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update .changeset/better-tires-shave.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-01 18:31:56 -04:00
aliabid94
5e66e01abc
Fix audio streaming out ( #7881 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-01 02:25:16 -07:00
aliabid94
7bbc3b62bf
JS functions break entire app if there's no input, fixed ( #7865 )
...
* changes
* add changeset
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-28 14:54:46 -07:00
pngwn
d95a1a44d6
chore: update versions ( #7826 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-27 14:25:36 -07:00
Freddy Boulton
ee804b2d56
Stop running iterators when js client disconnects ( #7835 )
...
* Add code
* add changeset
* move
* add changeset
* Add code
* Format notebook
* Address comments
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-27 17:41:40 +00:00
Yuichiro Tachibana (Tsuchiya)
72661e3391
Revert the minify setting in vite.config.js which was mistakingly introduced in #6261 ( #7852 )
...
* Revert the minify setting in vite.config.js which was mistakingly introduced in #6261
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-27 19:03:25 +09:00
pngwn
bf5110a26b
chore: update versions ( #7771 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-25 12:35:44 -04:00
Abubakar Abid
2efb05ed99
Adds support for kwargs and default arguments in the python client, and improves how parameter information is displayed in the "view API" page ( #7732 )
...
* changes
* changes
* add changeset
* improvements to api docs ui
* add changeset
* ux design work
* further styling
* feedback
* add changeset
* get parameter name
* fix code snippet
* construct args
* add changeset
* construct_args
* utils
* changes
* add catches
* fixes
* valid
* fix tests
* js lint
* add tests
* add changeset
* format
* client
* doc
* fixes
* changes
* api docs fixes
* fix .view_api()
* updating guide wip
* guide
* updated guides'
* fix
* guide fixes
* filepath
* address review
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-21 17:18:13 -07:00
Freddy Boulton
755157f99c
Do not reload code inside gr.NO_RELOAD context ( #7684 )
...
* Add code
* Copy files
* I think its working
* Tidy up
* add changeset
* do not change demos
* test
* Don't copy files
* Add code
* lint
* Add reload mode e2e test
* Reload mode test
* add changeset
* add changeset
* Use NO_RELOAD
* add no reload to docs
* add changeset
* Fix docs
* handle else statements. No need to edit string
* Fix typos
* Use compile
* Do not use unparse
* notebook
* Documentation comments
* Fix top-package import without having to delete all modules
* Revert demo calculator
* Typo guides
* Fix website
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-21 15:59:53 -04:00
pngwn
4da194fc77
chore: update versions ( #7669 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-19 13:50:31 -07:00
Dawood Khan
15da39fca0
Multimodal Textbox (Chat Input Component) ( #7420 )
...
* first pass
* multimodal textbox
* add changeset
* remove file
* more changes
* changes
* add changeset
* revert demo
* doc strings fix
* update demo
* file icons
* more updates
* format
* add story
* remove doc line
* type fixes
* chat interface
* new demo
* image upload fix
* ui changes
* addressing PR comments
* format
* type check
* more pr fixes
* format
* format
* test fixes
* test fixes
* Streaming fixes + other stuff
* optional keys to dict value
* final fixes
* notebook
* format
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* backend fixes
* story fix
* ui test fix
* format
* story
* format
* demo fix
* streaming test fix
* stories fix
* stories fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-19 13:16:05 -07:00
Ali Abdalla
f739bef6c7
Add Playground to Lite Custom Element ( #7660 )
...
* lite playground changes
* add changeset
* formatting
* index
* fix tests
* fixes
* add changeset
* styling changes
* code parsing
* formatting
* remove tailiwnd
* add shortcut
* formatting
* linting
* formatting
* snake case
* typing
* try fix
* remove import
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-03-19 11:49:21 -07:00
aliabid94
84f81fec92
Closing stream from the backend ( #7691 )
...
* chganges
* add changeset
* changes
* changes
* changes
* changes
* maybe fix (#7715 )
* maybe fix
* fix with demo
* changeset
* fix demo
* changeset
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-18 14:37:38 -07:00
Yuichiro Tachibana (Tsuchiya)
f67759dcee
Fix wasm_proxied_mount_css to not reuse an existing style element ( #7709 )
...
* Fix wasm_proxied_mount_css to not reuse an existing style element but replace it for theme updates upon rerunning a new app
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-18 07:30:11 -07:00
Yuichiro Tachibana (Tsuchiya)
0a3870d52b
Call handle_darkmode() even if window.__gradio_mode__ === "website"
but enforce the light theme ( #7710 )
...
* Call handle_darkmode() even if `window.__gradio_mode__ === "website"` but enforce the light theme
* add changeset
* Rename functions
* Fix `handle_theme_mode()` not to access a variable `active_theme_mode` in an outer scope
* Rename use_system_theme to sync_system_theme
* Replace let with const
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-18 07:29:08 -07:00
pngwn
598ad7baf7
fix dev mode ( #7703 )
...
* fix dev mode
* add changeset
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-14 19:44:55 +00:00
pngwn
5d1e8dae5a
batch UI updates on a per frame basis ( #7564 )
...
* changes
* process fe fn tests
* cleanup
* cleanup
* create_target_meta tests and abstraction
* add interactivity detection and tests
* more functions more tests
* add tests for component loader, fix errors
* fix everything
* add changeset
* add changeset
* ci
* cleanup
* cleanup
* test
* fix again
* tweaks
* cleanup
* add changeset
* fix loading_status
* cleanup
* ensure updates have been flushed before making API requests
* add changeset
* df fix
* fixes
* fix dataframe updates
* fix dataframe updates
* remove $open var
* add changeset
* fix tests
* extend timeout for lite
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-03-13 13:46:40 +00:00
pngwn
6683ab2589
chore: update versions ( #7630 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-08 16:35:23 -08:00
Abubakar Abid
d0688b3c25
Files should now be supplied as file(...)
in the Client, and some fixes to gr.load()
as well ( #7575 )
...
* more fixes for gr.load()
* client
* add changeset
* format
* docstring
* add assertion
* warning
* add changeset
* add changeset
* changes
* fixes
* more fixes
* fix files
* add test for dir
* add changeset
* Delete .changeset/giant-bears-check.md
* add changeset
* changes
* add changeset
* print
* format
* add changeset
* docs
* add to tests
* format
* add changeset
* move compatibility code out
* fixed
* changes
* changes
* factory method
* add changeset
* changes
* changes
* sse v2.1
* file()
* changes
* typing
* changes
* cleanup
* changes
* changes
* changes
* fixes
* changes
* fix
* add changeset
* changes
* more changes
* abc
* test
* add payloads
* lint
* test
* lint
* changes
* payload
* fixes
* fix tests
* fix
* clean
* fix frontend
* lint
* add changeset
* cleanup
* format
* get examples to show up in loaded spaces
* add filedata prop to frontend
* add skip component parameter
* address feedback
* with meta
* load
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 12:29:02 -08:00
Yuichiro Tachibana (Tsuchiya)
7c66a29dea
Fix the Lite custom element to initialize the app in the connected callback and dispose the app in the disconnected callback ( #7577 )
...
* Fix the Lite custom element to initialize the app in the connected callback and dispose the app in the disconnected callback
* add changeset
* Add type hints
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 12:04:39 -08:00
paragonnov
9482c7a3d2
fix: redundant meta tags that are unwanted ( #7643 )
...
* fix: redundant meta tag duplicates that are unwanted
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 09:43:26 -08:00
pngwn
ba8cc48b13
feature detect CSSStylesheet ( #7628 )
...
* feature detect CSSStylesheet
* add changeset
* logs
* polyfill instead
* polyfill instead
* remove polyfill
* fix lockfile
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-06 20:27:39 +00:00
pngwn
d8636bb050
chore: update versions ( #7626 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-06 17:13:41 +00:00
pngwn
3d270d43f9
chore: update versions ( #7526 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:54:36 -08:00
Dawood Khan
26356a623c
Fixes: Invalid file_type breaks drag and drop ( #7559 )
...
* file type fix
* add changeset
* pdf test
* format
* test fixes
* file test fix
* file path fix
* new test
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-03-05 16:52:22 -05:00
Abubakar Abid
4d5789e905
Allow mounted Gradio apps to work with external / arbitrary authentication providers ( #7557 )
...
* add parameter
* format
* add changeset
* docstrings
* changes
* changes
* docs
* mark flaky
* test
* docs
* docs
* push
* docs
* Update guides/01_getting-started/03_sharing-your-app.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* fix typecheck
* error
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-03-05 12:41:39 -08:00
pngwn
ea984dea51
ensure lite build doesn't wipe out core build ( #7597 )
2024-03-04 15:01:37 +00:00
pngwn
561579d9b7
fix-tests ( #7345 )
...
* fix-tests
* [tmp] Comment-out
* Fix the URL constructor calls in `resolve_wasm_src()`, `should_proxy_wasm_src()`, and `<DownloadLink />` to handle relative URLs
* Remove a circular dependency between lite/index.ts and lite/custom-element/index.ts to solve a bug that the dev app is mounted twice sometimes
* Fix js/app/test/image_component_events.spec.ts
* Set the `testIgnore` in `.config/playwright.config.js`
* Fix the Lite dev mode only to create an app and expose the controller for Playwright, without editors etc.
* add changeset
* Set the mocked ruff version as 0.2.2
* Extend timeout
* Fix to use the built lite files instead of the dev server
* add changeset
* comment out failed tests
* Revert "comment out failed tests"
This reverts commit 3580d79887
.
* Fix the Gellery component to work in Wasm
* Fix js/app/test/file_explorer_component_events.spec.ts to run on Wasm
* Ignore queue_full_e2e_test.spec.ts
* Revert "[tmp] Comment-out"
This reverts commit c775c0cc29
.
* Revert "Extend timeout"
This reverts commit 742d1e1e83
.
* Remove a commented out line
* Refactor file_explorer_component_events.spec.ts
* Revert "fix-tests", restoring the original test-functional.yml content
This reverts commit 9ff2a7ddc5
.
* Set CI step names
* [tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content"
This reverts commit de2dbe3317
.
* Revert "[tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content""
This reverts commit 32154f3bb1
.
* [tmp] Revert "Revert "[tmp] Revert "Revert "fix-tests", restoring the original test-functional.yml content"""
This reverts commit 204075e190
.
* Fix vite.config.js removing unnecessary code
* Revert "Set the `testIgnore` in `.config/playwright.config.js`"
This reverts commit 98dccc5be9
.
* Add gallery_component_events.spec.ts
* Revert js/app/test
* tweak
* tweak
* revert workflow changes
* add changeset
---------
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-04 14:03:46 +00:00
Abubakar Abid
bd2c695328
Adds a gr.DownloadButton
component ( #7518 )
...
* py
* path
* barebones js
* add changeset
* add changeset
* downloadbutton
* add changeset
* changes
* clog
* commit
* revert'
* fix
* js
* add changeset
* cleanup
* download
* notebooks
* stories
* change
* fix
* format
* download
* Fix updating `icon` parameter (bug resulting from https://github.com/gradio-app/gradio/pull/7528 ) (#7554 )
* fetch 2
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-28 12:07:36 -08:00
Abubakar Abid
1fa2e914ca
Fixes auth_message
so that it correctly renders HTML ( #7545 )
...
* quick fix
* add changeset
* story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-27 16:16:52 -08:00
paragonnov
08c2d491ec
when adding custom head html, ensure there are no duplicate meta tags ( #7510 )
...
* fix: remove old element to prevent duplication
remove old element before append new meta tag to prevent duplication
* fix: unexpected
* Update
* format
* unexpected
* unexpected
* add changeset
* improve
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-23 17:04:04 +00:00
pngwn
daf40b5ce3
fix tests? ( #7523 )
2024-02-23 16:29:11 +00:00
pngwn
bacbc70fa1
chore: update versions ( #7463 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 13:29:11 -08:00
MMP0
b186767744
Fix Gallery
preview overlay and backdrop ( #7505 )
...
* Restore `Gallery` translucent background
* Add `backdrop-filter` for Safari
* Fix overflowing `Gallery` preview overlay
* add changeset
* Older browser support
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2024-02-22 11:33:03 -08:00
aliabid94
ba3ec1300e
Tab select fix ( #7470 )
...
* changes
* add changeset
* changes
* changes
* changes
* Update js/tabs/shared/Tabs.svelte
Co-authored-by: Aarni Koskela <akx@iki.fi>
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Aarni Koskela <akx@iki.fi>
2024-02-21 17:27:58 -06:00
pngwn
1e5e787999
chore: update versions ( #7426 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-16 12:28:13 -08:00
aliabid94
f52cab634b
Dispatch change event for file explorer ( #7441 )
...
* changes
* add changeset
* changes
* changes
* fix test reqs in functional tests
* fix notebooks
* fix notebooks
* fix test flake
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-02-16 12:03:10 -06:00
Danil
89450c6a8b
Updated translation for Russian ( #7428 )
2024-02-15 07:22:46 -08:00
pngwn
7b84bc4f05
chore: update versions ( #7387 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-14 14:17:50 -08:00
pngwn
c2dfc592a4
remove static while pending behaviour ( #7410 )
...
* remove static while pending behaviour
* add changeset
* fix notebooks
* add changeset
* cleanup unused code + fix test
* fix notebooks
* oops
* re-add check
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-14 16:15:16 +00:00
Abubakar Abid
065c5b163c
Add .key_up
event listener to gr.Dropdown()
( #7404 )
...
* dropdown choice bug
* add changeset
* add changeset
* changes
* add changeset
* format
* key down:
* change
* change
* format
* add KeyDownData
* changes
* add demo
* notebook
* add changeset
* key up
* notebook
* changes
* Delete .changeset/shaggy-hairs-peel.md
* Delete .changeset/tasty-spies-spend.md
* revert changeset deletion
* change
* fix unit test
* type disable
* fix
* cset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-13 17:14:07 -08:00
aliabid94
65437ce832
Improve File Explorer performance ( #7337 )
...
* changes
* add changeset
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* Update gradio/components/file_explorer.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/file_explorer.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/file_explorer_component_events/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-13 16:51:47 -06:00
Hannah
46b45683e1
Allow applying @media
, @keyframes
and @import
in custom CSS ( #7395 )
...
* allow @media and @keyframes in custom CSS
* add changeset
* demo tweak
* formatting
* fix
* tweak
* add .dark test
* formatting
* add font-face test
* support @import statements
* add changeset
* tweak
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-13 00:39:30 +01:00
Freddy Boulton
a4a990ca05
Custom component 2e2 test ( #7394 )
...
* e2e test
* Add requirements
2024-02-12 10:06:22 -08:00
pngwn
bb4126cc24
chore: update versions ( #7338 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-09 22:15:34 -08:00
Hannah
4dc9ffbf70
Store gr.Accordion
's open
value ( #7375 )
...
* store open as writeable val
* add changeset
* add e2e test
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-10 00:09:59 +01:00
pngwn
a7fa47a175
ensure Dataframes in background tabs are visible when the tab is selected ( #7354 )
...
* add mutation observer to track visibility changes of tabs
* add changeset
* add changeset
* update console.log statements in Svelte component for debugging purposes
* remove unused table_width variable and update console logs in virtual table component
* move visibility check to table
* try dom rect bindings instead
* update binding of viewport_box to correctly calculate viewport height
* remove console.log statements and unused code
* add changeset
* add changeset
* remove unnecessary assignment of t_width in component
* update svelte-check to make ci pass
* update dependencies for happy-dom and vitest
merged from upstream
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-09 18:23:05 +00:00