mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-15 02:11:15 +08:00
4cfb6eebf6
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
265 lines
7.4 KiB
Markdown
265 lines
7.4 KiB
Markdown
# @gradio/multimodaltextbox
|
|
|
|
## 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/atoms@0.7.5
|
|
- @gradio/image@0.12.0
|
|
- @gradio/utils@0.5.0
|
|
- @gradio/icons@0.5.0
|
|
- @gradio/client@1.2.0
|
|
- @gradio/statustracker@0.7.0
|
|
- @gradio/upload@0.11.3
|
|
|
|
## 0.4.11
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/client@1.1.1
|
|
- @gradio/upload@0.11.2
|
|
- @gradio/image@0.11.10
|
|
|
|
## 0.4.10
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/upload@0.11.1
|
|
- @gradio/client@1.1.0
|
|
- @gradio/image@0.11.9
|
|
|
|
## 0.4.9
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/statustracker@0.6.0
|
|
- @gradio/client@1.0.0
|
|
- @gradio/upload@0.11.0
|
|
- @gradio/image@0.11.8
|
|
|
|
## 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/upload@0.10.7
|
|
- @gradio/client@0.20.1
|
|
- @gradio/image@0.11.7
|
|
|
|
## 0.4.6
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/client@0.20.0
|
|
- @gradio/statustracker@0.6.0
|
|
- @gradio/image@0.11.6
|
|
- @gradio/upload@0.10.6
|
|
|
|
## 0.4.5
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/utils@0.4.2
|
|
- @gradio/atoms@0.7.4
|
|
- @gradio/statustracker@0.5.5
|
|
- @gradio/upload@0.10.5
|
|
- @gradio/client@0.19.4
|
|
- @gradio/image@0.11.5
|
|
|
|
## 0.4.4
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/client@0.19.3
|
|
- @gradio/statustracker@0.5.4
|
|
- @gradio/image@0.11.4
|
|
- @gradio/upload@0.10.4
|
|
|
|
## 0.4.3
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/upload@0.10.3
|
|
- @gradio/client@0.19.2
|
|
- @gradio/image@0.11.3
|
|
|
|
## 0.4.2
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/statustracker@0.5.3
|
|
- @gradio/client@0.19.1
|
|
- @gradio/image@0.11.2
|
|
- @gradio/upload@0.10.2
|
|
|
|
## 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/atoms@0.7.3
|
|
- @gradio/statustracker@0.5.2
|
|
- @gradio/client@0.19.0
|
|
- @gradio/icons@0.4.1
|
|
- @gradio/image@0.11.1
|
|
- @gradio/upload@0.10.1
|
|
|
|
## 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/atoms@0.7.2
|
|
- @gradio/client@0.18.0
|
|
- @gradio/upload@0.10.0
|
|
- @gradio/utils@0.4.1
|
|
- @gradio/statustracker@0.5.1
|
|
- @gradio/image@0.11.0
|
|
|
|
## 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)
|
|
```
|
|
|
|
![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/atoms@0.7.1
|
|
- @gradio/client@0.17.0
|
|
- @gradio/image@0.10.0
|
|
- @gradio/statustracker@0.5.0
|
|
- @gradio/upload@0.9.0
|
|
- @gradio/utils@0.4.0
|
|
|
|
## 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/utils@0.3.2
|
|
- @gradio/statustracker@0.4.12
|
|
- @gradio/client@0.16.0
|
|
- @gradio/upload@0.8.5
|
|
- @gradio/atoms@0.7.0
|
|
- @gradio/icons@0.4.0
|
|
- @gradio/image@0.9.12
|
|
|
|
## 0.2.4
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/utils@0.3.1
|
|
- @gradio/atoms@0.6.2
|
|
- @gradio/statustracker@0.4.11
|
|
- @gradio/upload@0.8.4
|
|
- @gradio/image@0.9.11
|
|
- @gradio/client@0.15.1
|
|
|
|
## 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/upload@0.8.3
|
|
- @gradio/client@0.15.0
|
|
- @gradio/image@0.9.10
|
|
|
|
## 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/atoms@0.6.1
|
|
- @gradio/statustracker@0.4.10
|
|
- @gradio/icons@0.3.4
|
|
- @gradio/upload@0.8.2
|
|
- @gradio/image@0.9.9
|
|
|
|
## 0.2.1
|
|
|
|
### Dependency updates
|
|
|
|
- @gradio/upload@0.8.1
|
|
- @gradio/statustracker@0.4.9
|
|
- @gradio/atoms@0.6.0
|
|
- @gradio/image@0.9.8
|
|
|
|
## 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/client@0.14.0
|
|
- @gradio/upload@0.8.0
|
|
- @gradio/image@0.9.7 |