|
# @gradio/multimodaltextbox |
|
|
|
## 0.6.2 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.1 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0 |
|
|
|
### Features |
|
|
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Adding new themes to Gradio 5.0 |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Built-in submit and stop buttons in `gr.ChatInterface(multimodal=False)`, adding `submit_btn` and `stop_btn` props to `gr.Textbox()` and `gr.MultimodalText()` |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Chatbot Examples |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Allow `info=` to render markdown |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Some more chatbot fixes |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Disable the submit button and enter-key submit when the text is empty |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Match style of textbox stop button to submit button |
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Ssr part 2 |
|
|
|
### Fixes |
|
|
|
|
|
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Fix File Types for MultimodalTextbox |
|
|
|
### Dependencies |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0-beta.7 |
|
|
|
### Features |
|
|
|
- [#9437](https://github.com/gradio-app/gradio/pull/9437) [`c3d93be`](https://github.com/gradio-app/gradio/commit/c3d93bef94b9401747a363f7bad88a1d347d535b) - Adding new themes to Gradio 5.0. Thanks @allisonwhilden! |
|
- [#9593](https://github.com/gradio-app/gradio/pull/9593) [`cc61fe7`](https://github.com/gradio-app/gradio/commit/cc61fe7047ac61779a61cce52c666400b9517daa) - Some more chatbot fixes. Thanks @dawoodkhan82! |
|
- [#9583](https://github.com/gradio-app/gradio/pull/9583) [`b92a762`](https://github.com/gradio-app/gradio/commit/b92a7623e1ebd801587041e1ccca058a61058da9) - Disable the submit button and enter-key submit when the text is empty. Thanks @whitphx! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0-beta.6 |
|
|
|
### Features |
|
|
|
- [#9521](https://github.com/gradio-app/gradio/pull/9521) [`06ef22e`](https://github.com/gradio-app/gradio/commit/06ef22e83cdd27e7afb381396d153d9db3dea16e) - Allow `info=` to render markdown. Thanks @dawoodkhan82! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0-beta.5 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0-beta.4 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0-beta.3 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0-beta.2 |
|
|
|
### Features |
|
|
|
- [#8966](https://github.com/gradio-app/gradio/pull/8966) [`8e52b6a`](https://github.com/gradio-app/gradio/commit/8e52b6a3e75957462bc7fdbf6ff9c280084d5f08) - Chatbot Examples. Thanks @dawoodkhan82! |
|
- [#9339](https://github.com/gradio-app/gradio/pull/9339) [`4c8c6f2`](https://github.com/gradio-app/gradio/commit/4c8c6f2fe603081941c5fdc43f48a0632b9f31ad) - Ssr part 2. Thanks @pngwn! |
|
- [#9280](https://github.com/gradio-app/gradio/pull/9280) [`7122420`](https://github.com/gradio-app/gradio/commit/712242047fde3a594dfde7f48a44c7ea16239dc8) - Match style of textbox stop button to submit button. Thanks @freddyaboulton! |
|
|
|
### Fixes |
|
|
|
- [#9393](https://github.com/gradio-app/gradio/pull/9393) [`53ed0f0`](https://github.com/gradio-app/gradio/commit/53ed0f030551ad876a1fea28a9db9015ba6ec33e) - Fix File Types for MultimodalTextbox. 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] |
|
- @gradio/[email protected] |
|
|
|
## 0.6.0-beta.1 |
|
|
|
### Features |
|
|
|
- [#9235](https://github.com/gradio-app/gradio/pull/9235) [`f8b411f`](https://github.com/gradio-app/gradio/commit/f8b411fe282ff0316ed4abebc0a043b044bf4dd9) - Built-in submit and stop buttons in `gr.ChatInterface(multimodal=False)`, adding `submit_btn` and `stop_btn` props to `gr.Textbox()` and `gr.MultimodalText()`. Thanks @whitphx! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.7 |
|
|
|
### 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] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.6 |
|
|
|
### Features |
|
|
|
- [#9031](https://github.com/gradio-app/gradio/pull/9031) [`04b7d32`](https://github.com/gradio-app/gradio/commit/04b7d327ec1227a693fc2dfea51b1e2729851bde) - Allow drag and replace image in `gr.Image` and Multimodal textbox. Thanks @hannahblair! |
|
- [#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] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.5 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.4 |
|
|
|
### Fixes |
|
|
|
- [#8899](https://github.com/gradio-app/gradio/pull/8899) [`20444f9`](https://github.com/gradio-app/gradio/commit/20444f9b56f95240d00759f31a1b831b9eb53160) - Fix Chatbot Multimodal Examples. 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.5.3 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.2 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.1 |
|
|
|
### 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! |
|
- [#8637](https://github.com/gradio-app/gradio/pull/8637) [`c348392`](https://github.com/gradio-app/gradio/commit/c34839293f7ebad91d71caced84eea4a3790a558) - Multimodal textbox buttons alignment. Thanks @dawoodkhan82! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.5.0 |
|
|
|
### Features |
|
|
|
- [#8131](https://github.com/gradio-app/gradio/pull/8131) [`bb504b4`](https://github.com/gradio-app/gradio/commit/bb504b494947a287d6386e0e7ead3860c0f15223) - Gradio components in `gr.Chatbot()`. Thanks @dawoodkhan82! |
|
- [#8590](https://github.com/gradio-app/gradio/pull/8590) [`65afffd`](https://github.com/gradio-app/gradio/commit/65afffd34b79ba9117e8d9506ea82477204cb57d) - Fix multimodal chat look. Thanks @aliabid94! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.11 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.10 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.9 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.8 |
|
|
|
### Features |
|
|
|
- [#8377](https://github.com/gradio-app/gradio/pull/8377) [`341844f`](https://github.com/gradio-app/gradio/commit/341844f04efe0e7e512c7ca443f3f2b195a32fa7) - Click to preview images in chatbot. Thanks @dawoodkhan82! |
|
- [#8455](https://github.com/gradio-app/gradio/pull/8455) [`a970589`](https://github.com/gradio-app/gradio/commit/a970589cf57c72650f45fbc6a82ad9c52a6e4712) - Fix multimodal textbox placeholder. Thanks @dawoodkhan82! |
|
|
|
### Fixes |
|
|
|
- [#8369](https://github.com/gradio-app/gradio/pull/8369) [`4795c6e`](https://github.com/gradio-app/gradio/commit/4795c6e9e942b5ce489e4451ef84fa75128d89d2) - Fix multimodal textbox styling for certain themes. Thanks @dawoodkhan82! |
|
|
|
## 0.4.7 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.6 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.5 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.4 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.3 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.2 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.1 |
|
|
|
### Features |
|
|
|
- [#8236](https://github.com/gradio-app/gradio/pull/8236) [`bf909bd`](https://github.com/gradio-app/gradio/commit/bf909bd14532a27e119fb401003a7d94c0618ffb) - Change upload icon for MultimodalTextbox. Thanks @dawoodkhan82! |
|
|
|
### 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] |
|
- @gradio/[email protected] |
|
|
|
## 0.4.0 |
|
|
|
### Features |
|
|
|
- [#8121](https://github.com/gradio-app/gradio/pull/8121) [`f5b710c`](https://github.com/gradio-app/gradio/commit/f5b710c919b0ce604ea955f0d5f4faa91095ca4a) - chore(deps): update dependency eslint to v9. Thanks @renovate! |
|
- [#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.3.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) |
|
``` |
|
|
|
 |
|
|
|
|
|
#### 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. |
|
|
|
 |
|
|
|
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] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.5 |
|
|
|
### Fixes |
|
|
|
- [#8002](https://github.com/gradio-app/gradio/pull/8002) [`8903415`](https://github.com/gradio-app/gradio/commit/8903415e49b1526d31ff454b2235ea238e319c2c) - Add show_progress prop to Upload Component to bring back upload progress animation. Thanks @freddyaboulton! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.4 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.3 |
|
|
|
### Features |
|
|
|
- [#7875](https://github.com/gradio-app/gradio/pull/7875) [`e6d051d`](https://github.com/gradio-app/gradio/commit/e6d051dc8a497fdd6b4cfbd57efd4c8015b97a66) - Paste Images into MultimodalTextbox. Thanks @abidlabs! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.2 |
|
|
|
### Fixes |
|
|
|
- [#7848](https://github.com/gradio-app/gradio/pull/7848) [`8d7b3ca`](https://github.com/gradio-app/gradio/commit/8d7b3caebd8f95b1372f8412cadbb5862766c365) - Multimodal Textbox Loading + other fixes. Thanks @dawoodkhan82! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.1 |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
|
|
## 0.2.0 |
|
|
|
### Features |
|
|
|
- [#7420](https://github.com/gradio-app/gradio/pull/7420) [`15da39f`](https://github.com/gradio-app/gradio/commit/15da39fca01d09a30cf47e7e72d7efa5052f61f8) - Multimodal Textbox (Chat Input Component). Thanks @dawoodkhan82! |
|
|
|
### Dependency updates |
|
|
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |
|
- @gradio/[email protected] |