gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
29.84k stars 2.22k forks source link

ensure the client correctly handles all binary data #8322

Closed Saghen closed 1 week ago

Saghen commented 2 weeks ago

Description

The walk_and_store_blobs function was ignoring blobs that were directly inside of arrays such as [blob] due to the map using the blob value as the key, rather than the index.

Closes: #7778

gradio-pr-bot commented 2 weeks ago

🪼 branch checks and previews

• Name Status URL
Spaces ready! Spaces preview
Website ready! Website preview
:unicorn: Changes detected! Details

Install Gradio from this PR

pip install https://gradio-builds.s3.amazonaws.com/a8eb801a6b03874834d8ea29b576760602d020a6/gradio-4.31.4-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@a8eb801a6b03874834d8ea29b576760602d020a6#subdirectory=client/python"
gradio-pr-bot commented 1 week ago

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
@gradio/client patch
gradio patch

With the following changelog entry.

ensure the client correctly handles all binary data

Maintainers or the PR author can modify the PR title to modify this entry.

#### Something isn't right? - Maintainers can change the version label to modify the version bump. - If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can [update the changelog file directly](https://github.com/Saghen/gradio/edit/fix/array-blob-upload/.changeset/sixty-horses-tell.md).
Saghen commented 1 week ago

thank you!