xray918's picture
Upload folder using huggingface_hub
0ad74ed verified

A newer version of the Gradio SDK is available: 5.7.1

Upgrade

@gradio/multimodaltextbox

0.6.2

Dependency updates

0.6.1

Dependency updates

0.6.0

Features

  • #8843 6f95286 - Adding new themes to Gradio 5.0
  • #8843 6f95286 - 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 6f95286 - Chatbot Examples
  • #8843 6f95286 - Allow info= to render markdown
  • #8843 6f95286 - Some more chatbot fixes
  • #8843 6f95286 - Disable the submit button and enter-key submit when the text is empty
  • #8843 6f95286 - Match style of textbox stop button to submit button
  • #8843 6f95286 - Ssr part 2

Fixes

Dependencies

0.6.0-beta.7

Features

  • #9437 c3d93be - Adding new themes to Gradio 5.0. Thanks @allisonwhilden!
  • #9593 cc61fe7 - Some more chatbot fixes. Thanks @dawoodkhan82!
  • #9583 b92a762 - Disable the submit button and enter-key submit when the text is empty. Thanks @whitphx!

Dependency updates

0.6.0-beta.6

Features

  • #9521 06ef22e - Allow info= to render markdown. Thanks @dawoodkhan82!

Dependency updates

0.6.0-beta.5

Dependency updates

0.6.0-beta.4

Dependency updates

0.6.0-beta.3

Dependency updates

0.6.0-beta.2

Features

  • #8966 8e52b6a - Chatbot Examples. Thanks @dawoodkhan82!
  • #9339 4c8c6f2 - Ssr part 2. Thanks @pngwn!
  • #9280 7122420 - Match style of textbox stop button to submit button. Thanks @freddyaboulton!

Fixes

  • #9393 53ed0f0 - Fix File Types for MultimodalTextbox. Thanks @dawoodkhan82!

Dependency updates

0.6.0-beta.1

Features

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

0.5.7

Fixes

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

Dependency updates

0.5.6

Features

  • #9031 04b7d32 - Allow drag and replace image in gr.Image and Multimodal textbox. Thanks @hannahblair!
  • #9118 e1c404d - setup npm-previews of all packages. Thanks @pngwn!

Dependency updates

0.5.5

Dependency updates

0.5.4

Fixes

  • #8899 20444f9 - Fix Chatbot Multimodal Examples. Thanks @dawoodkhan82!

Dependency updates

0.5.3

Dependency updates

0.5.2

Dependency updates

0.5.1

Fixes

  • #8608 c12f82a - 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 c348392 - Multimodal textbox buttons alignment. Thanks @dawoodkhan82!

Dependency updates

0.5.0

Features

  • #8131 bb504b4 - Gradio components in gr.Chatbot(). Thanks @dawoodkhan82!
  • #8590 65afffd - Fix multimodal chat look. Thanks @aliabid94!

Dependency updates

0.4.11

Dependency updates

0.4.10

Dependency updates

0.4.9

Dependency updates

0.4.8

Features

  • #8377 341844f - Click to preview images in chatbot. Thanks @dawoodkhan82!
  • #8455 a970589 - Fix multimodal textbox placeholder. Thanks @dawoodkhan82!

Fixes

  • #8369 4795c6e - Fix multimodal textbox styling for certain themes. Thanks @dawoodkhan82!

0.4.7

Dependency updates

0.4.6

Dependency updates

0.4.5

Dependency updates

0.4.4

Dependency updates

0.4.3

Dependency updates

0.4.2

Dependency updates

0.4.1

Features

  • #8236 bf909bd - Change upload icon for MultimodalTextbox. Thanks @dawoodkhan82!

Fixes

Dependency updates

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

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

0.2.5

Fixes

  • #8002 8903415 - Add show_progress prop to Upload Component to bring back upload progress animation. Thanks @freddyaboulton!

Dependency updates

0.2.4

Dependency updates

0.2.3

Features

  • #7875 e6d051d - Paste Images into MultimodalTextbox. Thanks @abidlabs!

Dependency updates

0.2.2

Fixes

  • #7848 8d7b3ca - Multimodal Textbox Loading + other fixes. Thanks @dawoodkhan82!

Dependency updates

0.2.1

Dependency updates

0.2.0

Features

  • #7420 15da39f - Multimodal Textbox (Chat Input Component). Thanks @dawoodkhan82!

Dependency updates