pngwn
d186165c14
chore: update versions ( #6017 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 11:23:27 -07:00
pngwn
62c0a34a40
chore: update versions ( #5992 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 15:28:58 +01:00
Yuichiro Tachibana (Tsuchiya)
e0ed0642ac
Lite: Error handling after initialization ( #6005 )
...
* Update WorkerProxy to emit a unified `error` event for any type error and a `run-start` event when `run_file` or `run_code` is called, and update Index.svelte to handle these events
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-19 17:39:23 +09:00
pngwn
7415ffb0d8
chore: update versions ( #5981 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 20:06:23 +01:00
Yuichiro Tachibana (Tsuchiya)
a32aabaf50
Lite: Show initialization progress messages ( #5983 )
2023-10-18 18:37:14 +01:00
pngwn
35f58db405
chore: update versions ( #5940 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-17 23:38:35 -07:00
Yuichiro Tachibana (Tsuchiya)
11a3007916
Lite: Support opening the entrypoint HTML page directly in browser via the file:
protocol ( #5972 )
...
* Use a special fake hostname for the API access when the page is opened via the `file:` protocol
* Move js/app/src/lite/url.ts -> js/wasm/svelte/host.ts
* Add a comment
* Move js/wasm/svelte/host.ts -> js/wasm/network/host.ts
* add changeset
* Add a comment
* add changeset
* Update js/wasm/package.json adding a ESM subpath
* Fix `is_self_host()`
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-10-17 23:25:01 -07:00
Yuichiro Tachibana (Tsuchiya)
921334526f
Lite: Support the custom HTML element syntax <gradio-lite>
( #5953 )
...
* Create a custom element `<gradio-app`> for Gradio-lite
* Parse `<gradio-app`> attributes to configure the top level component
* Move custom-element code to lite/custom-element module
* add changeset
* Apply formatter
* Rename the custom element `<gradio-app>` to `<gradio-lite>`
* Fix the .gradio-lite to be minimum
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-10-18 15:07:13 +09:00
Yuichiro Tachibana (Tsuchiya)
f769876e0f
Apply formatter (and small refactoring) to the Lite-related frontend code ( #5956 )
...
* Apply formatter (and small refactoring) to the Lite-related frontend code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-18 01:15:00 +09:00
pngwn
a46cb94870
chore: update versions ( #5831 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-16 13:30:41 -07:00
Yuichiro Tachibana (Tsuchiya)
b67115e8e6
Lite: Make the Examples component display media files using pseudo HTTP requests to the Wasm server ( #5627 )
...
* Create a Wasm-compatible <Image> component in @gradio/lite and use it in @gradio/image/example/Image.svelte
* add changeset
* Fix Image styling
* Move js/wasm/svelte/Image.svelte -> js/image/static/Image.svelte
* Shorten CSS class name
* Create Wasm-compatible video components
* add changeset
* Move the Wasm-compatible `Image` from `static` to `shared`
* Create Wasm-compatible audio components
* Fix `resolve_wasm_src()` to return the passed `src` as-is when the URL is not HTTP or refering to remote
* add changeset
* Fix `resolve_wasm_src()`
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-17 01:26:49 +09:00
Yuichiro Tachibana (Tsuchiya)
121f25b2d5
Lite: Fix is_self_host() to detect 127.0.0.1
as localhost as well ( #5886 )
...
* Fix is_self_host() to detect `127.0.0.1` as localhost as well
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-13 13:57:21 +09:00
pngwn
1265a9ac13
chore: update versions ( #5817 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-05 19:55:12 -07:00
pngwn
3d263ba007
chore: update versions ( #5796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-05 14:10:45 -07:00
aliabid94
e4a307ed6c
Add component <-> server direct communication support, as well as a "file explorer" component ( #5672 )
...
* changes
* changes
* add changeset
* add changeset
* Server fns ext (#5760 )
* start changes
* changes
* changes
* fix arrows
* add changeset
* rename demo
* fix some ci
* add changeset
* add changeset
* fix
* remove configs
* fix
* fix
* add changeset
* fixes
* linting
* Update gradio/components/file_explorer.py
* notebook
* typing
* tweaks
* fixed class method problem
* fix test
* file explorer
* gr.load
* format
* tweaks
* fix
* fix
* fix
* fix
* final tweaks + changelog
* changelog
* changelog
* changelog
* lint
---------
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>
2023-10-05 14:20:01 +01:00
Hannah
f096c3ae16
Throw helpful error when media devices are not found ( #5794 )
...
* add test
* add changeset
* tweak copy
* error logic
* add changeset
* copy tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-04 20:31:00 +01:00
pngwn
5d5ddcfa9b
chore: update versions ( #5786 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-04 15:46:45 +01:00
Yuichiro Tachibana (Tsuchiya)
6e56a0d9b0
Lite: Websocket queueing ( #5124 )
...
* Create a Wasm-emulated WebSocket connection and fix @gradio/client to inject it
* Explicitly set the default response class for the Wasm mode
* add changeset
* Fix is_self_origin() to compare only hosts and rename it to is_self_host()
* Fix Blocks.close() to cancel async tasks in the case of Wasm and call it from wasm_utils.register_app() to dispose an old app instance
* Update comment
* Hold the asyncio.Task objects and cancel them at `Blocks.close()`
* Add try-except to handle the case where `events` is not set to `queue.active_jobs` when `queue.process_events` is called
* Format queueing.py
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-04 18:19:09 +09:00
pngwn
d6295df030
chore: update versions ( #5742 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 20:55:55 -07:00
Hannah
8f0fed857d
Improve chatbot accessibility and UX ( #5699 )
...
* add a11y changes and css tweaks
* add a11y changes and css tweaks
* change like/dislike/copy buttons ux
* cleanup
* add laout param
* tweak
* add changeset
* fill icon on click
* text alignment tweak
* format + test
* fix browser test
* avatar tweaks
* add stories
* tweak
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-02 19:29:20 +02:00
Hannah
546e1d89f4
Add design tokens to storybook ( #5750 )
...
* add design tokens to storybook
* tweak
* tweak
* visual tweaks
* add icons
2023-10-02 13:52:09 +02:00
pngwn
898668596d
chore: update versions ( #5712 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 12:06:09 -07:00
pngwn
78e7cf5163
ensure internal data has updated before dispatching success
or then
events ( #5705 )
...
* ensure internal data has updated before dispatching then or success events
* ensure internal data has updated before dispatching then or success events
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-28 11:19:59 -07:00
ylhsieh
96c4b97c74
Adjust translation ( #5726 )
...
* Adjust translation
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-09-28 15:47:11 +02:00
Ali Abdalla
84e03fe506
Adds copy buttons to website, and better descriptions to API Docs ( #5721 )
...
* add missing docstring to highlightedtext
* add description to return types in api_docs
* add copy buttons to docs
* fix up descriptions for filepaths
* add copy buttons to every codeblock
* add changeset
* fix backend tests
* add changeset
* better worded descriptions
* fix color_map description
* fix formatting in code snippets
* add space
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-27 23:23:01 -07:00
pngwn
09ac63e818
chore: update versions ( #5702 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-26 22:54:51 -07:00
pngwn
543f327723
chore: update versions ( #5596 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-26 14:50:39 -07:00
aliabid94
e1874aff81
Add gr.on
listener method ( #5639 )
...
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-25 15:25:16 -07:00
Hannah
75ddeb390d
Accessibility Improvements ( #5554 )
...
* allow remove token via keyboard
* more a11y enhancements
* upload + dataset a11y tweaks
* add changeset
* add webcam label
* improve checkbox focus styling and allow interaction via keyboard
* add changeset
* improve radio focus color
* tweak
* add radio label
* add changeset
* add annotated image alt + use button for labels
* button tweaks
* add changeset
* tweak
* more changes
* tiny tweaks
* galley / image
* label tweaks and add semantic tags to confidence
* nit + docstring
* tweak
* add changeset
* fix tests
* unit test fix
* range tweak
* fix alignment in gallery
* range tweak
* slider test tweak
* tweak
* more test fixes
* last? test tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-22 14:12:26 +02:00
aliabid94
da05e59a53
Removing .update and get_config, attempt 2 ( #5240 )
...
* changes
* add changeset
* changes
* changes
* Update many-tips-create.md
* notebooks
* chanegs
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changew
* changes
* changes
* changes
* changes
* chanegs
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Revert "changes"
This reverts commit 0868c25c56
.
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* chaneges
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* fix typing
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-09-18 21:17:06 -07:00
pngwn
51a0a2e557
chore: update versions ( #5578 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-18 20:54:50 -07:00
D V
52f7831751
refactor: Use package.json for version management ( #5514 )
...
* refactor: Use package.json for version management
- uses package.json file for version management.
- updated the regex pattern.
- removed the logic that creates or updates the version.txt file
* load version through package.json
* fix code duplication
* add changeset
* add changeset
* fixes
* fix
* package version
* fix
* typing
* typing
* changes
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-15 16:23:52 -07:00
pngwn
99e87a45df
chore: update versions ( #5549 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 15:24:00 -07:00
renovate[bot]
50d9747d06
chore(deps): update dependency iframe-resizer to v4.3.7 ( #5562 )
...
* chore(deps): update dependency iframe-resizer to v4.3.7
* 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>
2023-09-14 12:21:47 -07:00
EkhiAzur
4ed5902e7d
Adding basque language ( #5550 )
...
* Adding basque language
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-14 11:49:46 -07:00
pngwn
aee3757ad8
chore: update versions ( #5543 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 00:52:36 -07:00
pngwn
a80a66537a
chore: update versions ( #5527 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-13 13:11:27 -07:00
pngwn
ef4ca645a1
chore: update versions ( #5476 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-12 19:31:08 -07:00
Hannah
d112e2611b
Allow interactive input in gr.HighlightedText
( #5400 )
...
* add preprocess param to highlighted_text.py
* add params
* static tweaks
* add interactive highlight container
* highlight selection logic
* allow editing label value and move shared funcs
* add changeset
* remove py code
* wait for input render
* remove redundant event listeners
* accessibility enhancements and remove label logic
* add keyboard navigation and interaction
* merge adjacent empty elements and split input element
* add interactive support for scores mode
* remove merge adjacent logic and move to frontend
* tweak
* add changeset
* format backend
* tweaks
* backend test tweaks
* set the interactive default to None
* BE tweak
* unit tests and stories
* be formatting
* fix label errors
* tweak
* fix tests
* fix tests
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-12 18:47:16 -07:00
Razhan Hameed
c60b89b0a5
Adding Central Kurdish ( #5475 )
...
* adding Central Kurdish
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-09-12 18:14:34 +01:00
Hannah
9ee20f499f
Validate i18n file names with ISO-639x ( #5505 )
...
* validate i18n files
* add changeset
* lockfile
* test
* remove log
* Rename zh-tw.json to zh-TW.json
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 17:39:15 +01:00
pngwn
3e1e8fc5d2
chore: update versions ( #5457 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 12:36:03 +01:00
pngwn
acabe4ed42
chore: update versions ( #5446 )
2023-09-07 23:31:34 +01:00
pngwn
7a4a89e5ca
ensure iframe is correct size on spaces ( #5447 )
2023-09-07 23:18:34 +01:00
pngwn
710cbb67fc
chore: update versions ( #5419 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-07 13:26:14 -07:00
pngwn
d5d0e418c9
chore: update versions ( #5361 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-01 17:27:32 -07:00
Abubakar Abid
79d8f9d891
Adds height
and zoom_speed
parameters to Model3D
component, as well as a button to reset the camera position ( #5373 )
...
* add params in backend
* tweaks
* add changeset
* updates
* tweaks
* lint
* cleanup
* fix tests
* add reset button
* add changeset
* lint
* add changeset
* add changeset
* lint
* add changeset
* faster
* add changeset
* undo website
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-31 12:24:22 -07:00
Freddy Boulton
119c834331
Faster reload mode ( #5267 )
...
* This works
* Add code
* Final touches
* Lint
* Fix bug in other dirs
* add changeset
* Reload
* lint + test
* Load from frontend
* add changeset
* Use key
* tweak frontend config generation
* tweak
* WIP ipython
* Fix robust
* fix
* Fix for jupyter notebook
* Add checks
* Lint frontend
* Undo demo changes
* add changeset
* Use is_in_or_equal
* python 3.11 changes and no if __name__
* Forward sys.argv + guide
* lint
---------
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>
2023-08-29 17:29:15 -04:00
pngwn
1dc797adcb
chore: update versions ( #5341 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 12:07:20 -07:00
pngwn
632e4d8378
chore: update versions ( #5326 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-24 18:47:07 +01:00