my_gradio / js /simpleimage /CHANGELOG.md
xray918's picture
Upload folder using huggingface_hub
0ad74ed verified

A newer version of the Gradio SDK is available: 5.9.1

Upgrade

@gradio/simpleimage

0.8.2

Dependency updates

0.8.1

Dependency updates

0.8.0

Features

Dependencies

0.8.0-beta.7

Dependency updates

0.8.0-beta.6

Dependency updates

0.8.0-beta.5

Dependency updates

0.8.0-beta.4

Dependency updates

0.8.0-beta.3

Dependency updates

0.8.0-beta.2

Features

Dependency updates

0.7.1-beta.1

Dependency updates

0.7.1

Fixes

  • #9163 2b6cbf2 - fix exports and generate types. Thanks @pngwn!

Dependency updates

0.7.0

Features

  • #8930 41d5ab9 - Add placeholder param to Image and ImageEditor to replace upload image text. Thanks @hannahblair!
  • #9118 e1c404d - setup npm-previews of all packages. Thanks @pngwn!

Fixes

  • #9116 ba6322e - Fix image height content fit. Thanks @hannahblair!

Dependency updates

0.6.5

Dependency updates

0.6.4

Dependency updates

0.6.3

Fixes

  • #8852 16b8200 - Fix gr.Image height inconsistencies. Thanks @hannahblair!

Dependency updates

0.6.2

Dependency updates

0.6.1

Dependency updates

0.6.0

Features

  • #8131 bb504b4 - Gradio components in gr.Chatbot(). Thanks @dawoodkhan82!

Dependency updates

0.5.10

Dependency updates

0.5.9

Dependency updates

0.5.8

Dependency updates

0.5.7

Dependency updates

0.5.6

Dependency updates

0.5.5

Dependency updates

0.5.4

Dependency updates

0.5.3

Dependency updates

0.5.2

Dependency updates

0.5.1

Fixes

Dependency updates

0.5.0

Features

  • #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

0.4.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

0.3.12

Dependency updates

0.3.11

Dependency updates

0.3.10

Dependency updates

0.3.9

Dependency updates

0.3.8

Dependency updates

0.3.7

Dependency updates

0.3.6

Dependency updates

0.3.5

Patch Changes

0.3.4

Features

  • #7528 eda33b3 - Refactors get_fetchable_url_or_file() to remove it from the frontend. Thanks @abidlabs!

0.3.3

Patch Changes

0.3.2

Patch Changes

0.3.1

Patch Changes

0.3.0

Features

  • #7183 49d9c48 - [WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component. Thanks @abidlabs!

0.2.0

Features

Fixes