gradio/js/multimodaltextbox/CHANGELOG.md
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

5.2 KiB

@gradio/multimodaltextbox

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 bf909bd - Change upload icon for MultimodalTextbox. Thanks @dawoodkhan82!

Fixes

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 f5b710c - chore(deps): update dependency eslint to v9. Thanks @renovate!
  • #8209 b9afe93 - Rename eventSource_Factory and fetch_implementation. Thanks @hannahblair!

Fixes

  • #8179 6a218b4 - 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 2afca65)

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.

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

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

Thanks @freddyaboulton!

Fixes

  • #8066 624f9b9 - 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 8903415 - 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 e6d051d - 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 8d7b3ca - 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 15da39f - Multimodal Textbox (Chat Input Component). Thanks @dawoodkhan82!

Dependency updates

  • @gradio/client@0.14.0
  • @gradio/upload@0.8.0
  • @gradio/image@0.9.7