|
# @gradio/file |
|
|
|
## 0.10.2 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.10.1 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
|
|
## 0.10.0 |
|
|
|
### Features |
|
|
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Improve Icon Button consistency |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Adds ability to block event trigger when file is uploading |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Ssr part 2 |
|
|
|
### Dependencies |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.10.0-beta.7 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.10.0-beta.6 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.10.0-beta.5 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.10.0-beta.4 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.10.0-beta.3 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.10.0-beta.2 |
|
|
|
### Features |
|
|
|
- [#9339](https://github.com/gradio-app/gradio/pull/9339) [`4c8c6f2`](https://github.com/gradio-app/gradio/commit/4c8c6f2fe603081941c5fdc43f48a0632b9f31ad) - Ssr part 2. Thanks @pngwn! |
|
- [#9250](https://github.com/gradio-app/gradio/pull/9250) [`350b0a5`](https://github.com/gradio-app/gradio/commit/350b0a5cafb9176f914f62e7c90de51d4352cc77) - Improve Icon Button consistency. Thanks @hannahblair! |
|
- [#9253](https://github.com/gradio-app/gradio/pull/9253) [`99648ec`](https://github.com/gradio-app/gradio/commit/99648ec7c4443e74799941e47b0015ac9ca581e1) - Adds ability to block event trigger when file is uploading. Thanks @dawoodkhan82! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.9.4-beta.1 |
|
|
|
### Features |
|
|
|
- [#9187](https://github.com/gradio-app/gradio/pull/9187) [`5bf00b7`](https://github.com/gradio-app/gradio/commit/5bf00b7524ebf399b48719120a49d15bb21bd65c) - make all component SSR compatible. Thanks @pngwn! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.9.4-beta.0 |
|
|
|
### Fixes |
|
|
|
- [#9163](https://github.com/gradio-app/gradio/pull/9163) [`2b6cbf2`](https://github.com/gradio-app/gradio/commit/2b6cbf25908e42cf027324e54ef2cc0baad11a91) - fix exports and generate types. Thanks @pngwn! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.9.3 |
|
|
|
### Features |
|
|
|
- [#9118](https://github.com/gradio-app/gradio/pull/9118) [`e1c404d`](https://github.com/gradio-app/gradio/commit/e1c404da1143fb52b659d03e028bdba1badf443d) - setup npm-previews of all packages. Thanks @pngwn! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.9.2 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.9.1 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.9.0 |
|
|
|
### Features |
|
|
|
- [#8803](https://github.com/gradio-app/gradio/pull/8803) [`e1a4040`](https://github.com/gradio-app/gradio/commit/e1a404093cfaf9d8f2a92bc1d28fb6aa254848d1) - Ensure all upload components have consistent upload regions. Thanks @pngwn! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.8.5 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.8.4 |
|
|
|
### Fixes |
|
|
|
- [#8608](https://github.com/gradio-app/gradio/pull/8608) [`c12f82a`](https://github.com/gradio-app/gradio/commit/c12f82a36dc75ff30918dc2ce5f24e583b676f22) - Bugfix: Add a `file_count` parameter to `gr.MultimodalTextbox`. Multiple files cab be uploaded by setting `file_count="multiple"`. Default is `"single"` to preserve the previous behavior. Thanks @freddyaboulton! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.8.3 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.8.2 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.8.1 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.8.0 |
|
|
|
### Features |
|
|
|
- [#8417](https://github.com/gradio-app/gradio/pull/8417) [`96d8de2`](https://github.com/gradio-app/gradio/commit/96d8de231270321da5f310768643363276df3204) - add delete event to `File` component. Thanks @pngwn! |
|
|
|
### Fixes |
|
|
|
- [#8451](https://github.com/gradio-app/gradio/pull/8451) [`9d2d605`](https://github.com/gradio-app/gradio/commit/9d2d6051caed5c8749a26a6fa7480a5ae6e6c4f3) - Change client submit API to be an AsyncIterable and support more platforms. Thanks @pngwn! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.7.7 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.7.6 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.7.5 |
|
|
|
### Fixes |
|
|
|
- [#8334](https://github.com/gradio-app/gradio/pull/8334) [`0236b1a`](https://github.com/gradio-app/gradio/commit/0236b1ab12149ddd11b03e1382ceb09d19ac0d48) - fix: prevent triggering gr.File.select on delete. Thanks @gtm-nayan! |
|
- [#8341](https://github.com/gradio-app/gradio/pull/8341) [`82ba397`](https://github.com/gradio-app/gradio/commit/82ba3975921760c727875948fb7275c2f5f9ea2b) - add missing orig_name (follow up to #8334). Thanks @gtm-nayan! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.7.4 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.7.3 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.7.2 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.7.1 |
|
|
|
### Fixes |
|
|
|
- [#8252](https://github.com/gradio-app/gradio/pull/8252) [`22df61a`](https://github.com/gradio-app/gradio/commit/22df61a26adf8023f6dd49c051979990e8d3879a) - Client node fix. Thanks @pngwn! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.7.0 |
|
|
|
### Features |
|
|
|
- [#8209](https://github.com/gradio-app/gradio/pull/8209) [`b9afe93`](https://github.com/gradio-app/gradio/commit/b9afe93915401df5bd6737c89395c2477acfa585) - Rename `eventSource_Factory` and `fetch_implementation`. Thanks @hannahblair! |
|
|
|
### Fixes |
|
|
|
- [#8179](https://github.com/gradio-app/gradio/pull/8179) [`6a218b4`](https://github.com/gradio-app/gradio/commit/6a218b4148095aaa0c58d8c20973ba01c8764fc2) - rework upload to be a class method + pass client into each component. Thanks @pngwn! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0 |
|
|
|
### Highlights |
|
|
|
#### Setting File Upload Limits ([#7909](https://github.com/gradio-app/gradio/pull/7909) [`2afca65`](https://github.com/gradio-app/gradio/commit/2afca6541912b37dc84f447c7ad4af21607d7c72)) |
|
|
|
We have added a `max_file_size` size parameter to `launch()` that limits to size of files uploaded to the server. This limit applies to each individual file. This parameter can be specified as a string or an integer (corresponding to the size in bytes). |
|
|
|
The following code snippet sets a max file size of 5 megabytes. |
|
|
|
```python |
|
import gradio as gr |
|
|
|
demo = gr.Interface(lambda x: x, "image", "image") |
|
|
|
demo.launch(max_file_size="5mb") |
|
# or |
|
demo.launch(max_file_size=5 * gr.FileSize.MB) |
|
``` |
|
|
|
![max_file_size_upload](https://github.com/gradio-app/gradio/assets/41651716/7547330c-a082-4901-a291-3f150a197e45) |
|
|
|
|
|
#### Error states can now be cleared |
|
|
|
When a component encounters an error, the error state shown in the UI can now be cleared by clicking on the `x` icon in the top right of the component. This applies to all types of errors, whether it's raised in the UI or the server. |
|
|
|
![error_modal_calculator](https://github.com/gradio-app/gradio/assets/41651716/16cb071c-accd-45a6-9c18-0dea27d4bd98) |
|
|
|
Thanks @freddyaboulton! |
|
|
|
### Fixes |
|
|
|
- [#8066](https://github.com/gradio-app/gradio/pull/8066) [`624f9b9`](https://github.com/gradio-app/gradio/commit/624f9b9477f74a581a6c14119234f9efdfcda398) - make gradio dev tools a local dependency rather than bundling. Thanks @pngwn! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.12 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.11 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.10 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.9 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.8 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.7 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.6 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.5 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`8181695`](https://github.com/gradio-app/gradio/commit/8181695e70187e8bc2bf7518697098c8d1b9843d)]: |
|
- @gradio/[email protected] |
|
|
|
## 0.5.4 |
|
|
|
### Fixes |
|
|
|
- [#7559](https://github.com/gradio-app/gradio/pull/7559) [`26356a6`](https://github.com/gradio-app/gradio/commit/26356a623c4196f48ca236d973a597831743cdb8) - Fixes: Invalid file_type breaks drag and drop. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! |
|
|
|
## 0.5.3 |
|
|
|
### Fixes |
|
|
|
- [#7507](https://github.com/gradio-app/gradio/pull/7507) [`9c36572`](https://github.com/gradio-app/gradio/commit/9c36572e32aeec6e6352a861dfea6ee0f9a15e79) - Quick fix: File height overflow. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! |
|
|
|
## 0.5.2 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`f191786`](https://github.com/gradio-app/gradio/commit/f1917867916647d383b8d7ce15e0c17f2abbdec1)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.1 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`065c5b1`](https://github.com/gradio-app/gradio/commit/065c5b163c4badb9d9cbd06d627fb4ba086003e7), [`32b317f`](https://github.com/gradio-app/gradio/commit/32b317f24e3d43f26684bb9f3964f31efd0ea556)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.0 |
|
|
|
### Features |
|
|
|
- [#7299](https://github.com/gradio-app/gradio/pull/7299) [`f35f615`](https://github.com/gradio-app/gradio/commit/f35f615e33a5dd90bfeb106b6f5dca689849fcef) - Added remove button for every file in file preview, to remove individual file in gr.File(). Thanks [@shubhamofbce](https://github.com/shubhamofbce)! |
|
- [#7183](https://github.com/gradio-app/gradio/pull/7183) [`49d9c48`](https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6) - [WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component. Thanks [@abidlabs](https://github.com/abidlabs)! |
|
|
|
## 0.4.9 |
|
|
|
### Fixes |
|
|
|
- [#7192](https://github.com/gradio-app/gradio/pull/7192) [`8dd6f4b`](https://github.com/gradio-app/gradio/commit/8dd6f4bc1901792f05cd59e86df7b1dbab692739) - Handle the case where examples is `null` for all components. Thanks [@abidlabs](https://github.com/abidlabs)! |
|
- [#7221](https://github.com/gradio-app/gradio/pull/7221) [`cae05c0`](https://github.com/gradio-app/gradio/commit/cae05c05ecde56c4d92c6b5ed8d13353505cbd14) - Fix single file upload display. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! |
|
|
|
## 0.4.8 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`5727b92`](https://github.com/gradio-app/gradio/commit/5727b92abc8a00a675bfc0a921b38de771af947b), [`bc2cdc1`](https://github.com/gradio-app/gradio/commit/bc2cdc1df95b38025486cf76df4a494b66d98585), [`c60ad4d`](https://github.com/gradio-app/gradio/commit/c60ad4d34ab5b56a89bf6796822977e51e7a4a32), [`be56c76`](https://github.com/gradio-app/gradio/commit/be56c76c7b5d2814ea8239c7dbeddc4b1d3701c4), [`8c355a4`](https://github.com/gradio-app/gradio/commit/8c355a47844296e3aab250fe61e2ecc706122e78)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.7 |
|
|
|
### Fixes |
|
|
|
- [#6980](https://github.com/gradio-app/gradio/pull/6980) [`523b6bc`](https://github.com/gradio-app/gradio/commit/523b6bc534e221b028a3ea3f274c7466fe242d5a) - `gr.update(value=[])` for `gr.File()` clears it. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! |
|
|
|
## 0.4.6 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`793bf8f`](https://github.com/gradio-app/gradio/commit/793bf8f7b1943f265c5d016c1a0c682ee549232a), [`5d00dd3`](https://github.com/gradio-app/gradio/commit/5d00dd37ca14bbfef2ceac550b29dbe05ba8cab0)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.5 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`6c863af`](https://github.com/gradio-app/gradio/commit/6c863af92fa9ceb5c638857eb22cc5ddb718d549), [`459c5dc`](https://github.com/gradio-app/gradio/commit/459c5dc989849b1f0134467d260710fe891045d6), [`649cd4d`](https://github.com/gradio-app/gradio/commit/649cd4d68041d11fcbe31f8efa455345ac49fc74), [`8333db8`](https://github.com/gradio-app/gradio/commit/8333db83ac6e2c8511c104534c48137576d0bcd7)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.4 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`d406855`](https://github.com/gradio-app/gradio/commit/d4068557953746662235d595ec435c42ceb24414)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.3 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`828fb9e`](https://github.com/gradio-app/gradio/commit/828fb9e6ce15b6ea08318675a2361117596a1b5d), [`73268ee`](https://github.com/gradio-app/gradio/commit/73268ee2e39f23ebdd1e927cb49b8d79c4b9a144)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.2 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`245d58e`](https://github.com/gradio-app/gradio/commit/245d58eff788e8d44a59d37a2d9b26d0f08a62b4)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.1 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`5d51fbc`](https://github.com/gradio-app/gradio/commit/5d51fbce7826da840a2fd4940feb5d9ad6f1bc5a), [`34f9431`](https://github.com/gradio-app/gradio/commit/34f943101bf7dd6b8a8974a6131c1ed7c4a0dac0)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.0 |
|
|
|
### Features |
|
|
|
- [#6398](https://github.com/gradio-app/gradio/pull/6398) [`67ddd40`](https://github.com/gradio-app/gradio/commit/67ddd40b4b70d3a37cb1637c33620f8d197dbee0) - Lite v4. Thanks [@whitphx](https://github.com/whitphx)! |
|
|
|
## 0.3.1 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`206af31`](https://github.com/gradio-app/gradio/commit/206af31d7c1a31013364a44e9b40cf8df304ba50)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.3.0 |
|
|
|
### Features |
|
|
|
- [#6511](https://github.com/gradio-app/gradio/pull/6511) [`71f1a1f99`](https://github.com/gradio-app/gradio/commit/71f1a1f9931489d465c2c1302a5c8d768a3cd23a) - Mark `FileData.orig_name` optional on the frontend aligning the type definition on the Python side. Thanks [@whitphx](https://github.com/whitphx)! |
|
- [#6520](https://github.com/gradio-app/gradio/pull/6520) [`f94db6b73`](https://github.com/gradio-app/gradio/commit/f94db6b7319be902428887867500311a6a32a165) - File table style with accessible file name texts. Thanks [@whitphx](https://github.com/whitphx)! |
|
|
|
## 0.2.7 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`9caddc17b`](https://github.com/gradio-app/gradio/commit/9caddc17b1dea8da1af8ba724c6a5eab04ce0ed8)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.6 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`2f805a7dd`](https://github.com/gradio-app/gradio/commit/2f805a7dd3d2b64b098f659dadd5d01258290521), [`f816136a0`](https://github.com/gradio-app/gradio/commit/f816136a039fa6011be9c4fb14f573e4050a681a)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.5 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`324867f63`](https://github.com/gradio-app/gradio/commit/324867f63c920113d89a565892aa596cf8b1e486)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.4 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`854b482f5`](https://github.com/gradio-app/gradio/commit/854b482f598e0dc47673846631643c079576da9c), [`f1409f95e`](https://github.com/gradio-app/gradio/commit/f1409f95ed39c5565bed6a601e41f94e30196a57)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.3 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`bca6c2c80`](https://github.com/gradio-app/gradio/commit/bca6c2c80f7e5062427019de45c282238388af95), [`3cdeabc68`](https://github.com/gradio-app/gradio/commit/3cdeabc6843000310e1a9e1d17190ecbf3bbc780), [`fad92c29d`](https://github.com/gradio-app/gradio/commit/fad92c29dc1f5cd84341aae417c495b33e01245f)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.2 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`aaa55ce85`](https://github.com/gradio-app/gradio/commit/aaa55ce85e12f95aba9299445e9c5e59824da18e)]: |
|
- @gradio/[email protected] |
|
|
|
## 0.2.1 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`2ba14b284`](https://github.com/gradio-app/gradio/commit/2ba14b284f908aa13859f4337167a157075a68eb)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.0 |
|
|
|
### Features |
|
|
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Clean root url. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Fix selectable prop in the backend. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Image v4. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Publish all components to npm. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Custom components. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#6171](https://github.com/gradio-app/gradio/pull/6171) [`28322422c`](https://github.com/gradio-app/gradio/commit/28322422cb9d8d3e471e439ad602959662e79312) - strip dangling svelte imports. Thanks [@pngwn](https://github.com/pngwn)! |
|
|
|
## 0.2.0-beta.8 |
|
|
|
### Features |
|
|
|
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! |
|
- [#6094](https://github.com/gradio-app/gradio/pull/6094) [`c476bd5a5`](https://github.com/gradio-app/gradio/commit/c476bd5a5b70836163b9c69bf4bfe068b17fbe13) - Image v4. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#6135](https://github.com/gradio-app/gradio/pull/6135) [`bce37ac74`](https://github.com/gradio-app/gradio/commit/bce37ac744496537e71546d2bb889bf248dcf5d3) - Fix selectable prop in the backend. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! |
|
|
|
## 0.2.0-beta.7 |
|
|
|
### Features |
|
|
|
- [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! |
|
- [#6044](https://github.com/gradio-app/gradio/pull/6044) [`9053c95a1`](https://github.com/gradio-app/gradio/commit/9053c95a10de12aef572018ee37c71106d2da675) - Simplify File Component. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! |
|
|
|
### Fixes |
|
|
|
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests. Thanks [@pngwn](https://github.com/pngwn)! |
|
|
|
## 0.2.0-beta.6 |
|
|
|
### Features |
|
|
|
- [#5960](https://github.com/gradio-app/gradio/pull/5960) [`319c30f3f`](https://github.com/gradio-app/gradio/commit/319c30f3fccf23bfe1da6c9b132a6a99d59652f7) - rererefactor frontend files. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#5938](https://github.com/gradio-app/gradio/pull/5938) [`13ed8a485`](https://github.com/gradio-app/gradio/commit/13ed8a485d5e31d7d75af87fe8654b661edcca93) - V4: Use beta release versions for '@gradio' packages. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! |
|
|
|
## 0.2.2 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`4e62b8493`](https://github.com/gradio-app/gradio/commit/4e62b8493dfce50bafafe49f1a5deb929d822103), [`e70805d54`](https://github.com/gradio-app/gradio/commit/e70805d54cc792452545f5d8eccc1aa0212a4695)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.1 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`796145e2c`](https://github.com/gradio-app/gradio/commit/796145e2c48c4087bec17f8ec0be4ceee47170cb)]: |
|
- @gradio/[email protected] |
|
|
|
## 0.2.0 |
|
|
|
### Highlights |
|
|
|
#### new `FileExplorer` component ([#5672](https://github.com/gradio-app/gradio/pull/5672) [`e4a307ed6`](https://github.com/gradio-app/gradio/commit/e4a307ed6cde3bbdf4ff2f17655739addeec941e)) |
|
|
|
Thanks to a new capability that allows components to communicate directly with the server _without_ passing data via the value, we have created a new `FileExplorer` component. |
|
|
|
This component allows you to populate the explorer by passing a glob, but only provides the selected file(s) in your prediction function. |
|
|
|
Users can then navigate the virtual filesystem and select files which will be accessible in your predict function. This component will allow developers to build more complex spaces, with more flexible input options. |
|
|
|
![output](https://github.com/pngwn/MDsveX/assets/12937446/ef108f0b-0e84-4292-9984-9dc66b3e144d) |
|
|
|
For more information check the [`FileExplorer` documentation](https://gradio.app/docs/fileexplorer). |
|
|
|
Thanks [@aliabid94](https://github.com/aliabid94)! |
|
|
|
## 0.1.6 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`6e56a0d9b`](https://github.com/gradio-app/gradio/commit/6e56a0d9b0c863e76c69e1183d9d40196922b4cd)]: |
|
- @gradio/[email protected] |
|
|
|
## 0.1.5 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`8f0fed857`](https://github.com/gradio-app/gradio/commit/8f0fed857d156830626eb48b469d54d211a582d2)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.1.4 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`78e7cf516`](https://github.com/gradio-app/gradio/commit/78e7cf5163e8d205e8999428fce4c02dbdece25f)]: |
|
- @gradio/[email protected] |
|
|
|
## 0.1.3 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`c57f1b75e`](https://github.com/gradio-app/gradio/commit/c57f1b75e272c76b0af4d6bd0c7f44743ff34f26), [`40de3d217`](https://github.com/gradio-app/gradio/commit/40de3d2178b61ebe424b6f6228f94c0c6f679bea), [`ea0e00b20`](https://github.com/gradio-app/gradio/commit/ea0e00b207b4b90a10e9d054c4202d4e705a29ba), [`75ddeb390`](https://github.com/gradio-app/gradio/commit/75ddeb390d665d4484667390a97442081b49a423)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.1.2 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`afac0006`](https://github.com/gradio-app/gradio/commit/afac0006337ce2840cf497cd65691f2f60ee5912), [`26fef8c7`](https://github.com/gradio-app/gradio/commit/26fef8c7f85a006c7e25cdbed1792df19c512d02)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.1.1 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`119c8343`](https://github.com/gradio-app/gradio/commit/119c834331bfae60d4742c8f20e9cdecdd67e8c2), [`abf1c57d`](https://github.com/gradio-app/gradio/commit/abf1c57d7d85de0df233ee3b38aeb38b638477db), [`79d8f9d8`](https://github.com/gradio-app/gradio/commit/79d8f9d891901683c5a1b7486efb44eab2478c96)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.1.0 |
|
|
|
### Highlights |
|
|
|
#### Improve startup performance and markdown support ([#5279](https://github.com/gradio-app/gradio/pull/5279) [`fe057300`](https://github.com/gradio-app/gradio/commit/fe057300f0672c62dab9d9b4501054ac5d45a4ec)) |
|
|
|
##### Improved markdown support |
|
|
|
We now have better support for markdown in `gr.Markdown` and `gr.Dataframe`. Including syntax highlighting and Github Flavoured Markdown. We also have more consistent markdown behaviour and styling. |
|
|
|
##### Various performance improvements |
|
|
|
These improvements will be particularly beneficial to large applications. |
|
|
|
- Rather than attaching events manually, they are now delegated, leading to a significant performance improvement and addressing a performance regression introduced in a recent version of Gradio. App startup for large applications is now around twice as fast. |
|
- Optimised the mounting of individual components, leading to a modest performance improvement during startup (~30%). |
|
- Corrected an issue that was causing markdown to re-render infinitely. |
|
- Ensured that the `gr.3DModel` does re-render prematurely. |
|
|
|
Thanks [@pngwn](https://github.com/pngwn)! |
|
|
|
### Features |
|
|
|
- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! |
|
- [#5221](https://github.com/gradio-app/gradio/pull/5221) [`f344592a`](https://github.com/gradio-app/gradio/commit/f344592aeb1658013235ded154107f72d86f24e7) - Allows setting a height to `gr.File` and improves the UI of the component. Thanks [@abidlabs](https://github.com/abidlabs)! |
|
- [#5265](https://github.com/gradio-app/gradio/pull/5265) [`06982212`](https://github.com/gradio-app/gradio/commit/06982212dfbd613853133d5d0eebd75577967027) - Removes scrollbar from File preview when not needed. Thanks [@abidlabs](https://github.com/abidlabs)! |
|
- [#5264](https://github.com/gradio-app/gradio/pull/5264) [`46a2b600`](https://github.com/gradio-app/gradio/commit/46a2b600a7ff030a9ea1560b882b3bf3ad266bbc) - ensure translations for audio work correctly. Thanks [@hannahblair](https://github.com/hannahblair)! |
|
|
|
### Fixes |
|
|
|
- [#5253](https://github.com/gradio-app/gradio/pull/5253) [`ddac7e4d`](https://github.com/gradio-app/gradio/commit/ddac7e4d0f55c3bdc6c3e9a9e24588b2563e4049) - Ensure File component uploads files to the server. Thanks [@pngwn](https://github.com/pngwn)! |
|
- [#5313](https://github.com/gradio-app/gradio/pull/5313) [`54bcb724`](https://github.com/gradio-app/gradio/commit/54bcb72417b2781ad9d7500ea0f89aa9d80f7d8f) - Restores missing part of bottom border on file component. Thanks [@abidlabs](https://github.com/abidlabs)! |
|
|
|
## 0.0.3 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies [[`61129052`](https://github.com/gradio-app/gradio/commit/61129052ed1391a75c825c891d57fa0ad6c09fc8), [`667875b2`](https://github.com/gradio-app/gradio/commit/667875b2441753e74d25bd9d3c8adedd8ede11cd), [`67265a58`](https://github.com/gradio-app/gradio/commit/67265a58027ef1f9e4c0eb849a532f72eaebde48), [`8b4eb8ca`](https://github.com/gradio-app/gradio/commit/8b4eb8cac9ea07bde31b44e2006ca2b7b5f4de36)]: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.0.2 |
|
|
|
### Patch Changes |
|
|
|
- Updated dependencies []: |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |