Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 25, 2023

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps gradio from 3.33.1 to 3.38.0.

Changelog

Sourced from gradio's changelog.

gradio

3.38

New Features:

  • Provide a parameter animate (False by default) in gr.make_waveform() which animates the overlayed waveform by @​dawoodkhan82 in PR 4918
  • Add show_download_button param to allow the download button in static Image components to be hidden by @​hannahblair in PR 4959
  • Added autofocus argument to Textbox by @​aliabid94 in PR 4978
  • The gr.ChatInterface UI now converts the "Submit" button to a "Stop" button in ChatInterface while streaming, which can be used to pause generation. By @​abidlabs in PR 4971.
  • Add a border_color_accent_subdued theme variable to add a subdued border color to accented items. This is used by chatbot user messages. Set the value of this variable in Default theme to *primary_200. By @​freddyaboulton in PR 4989

Bug Fixes:

  • Fixes cancels for generators so that if a generator is canceled before it is complete, subsequent runs of the event do not continue from the previous iteration, but rather start from the beginning. By @​abidlabs in PR 4969.
  • Use gr.State in gr.ChatInterface to reduce latency by @​freddyaboulton in PR 4976
  • Fix bug with gr.Interface where component labels inferred from handler parameters were including special args like gr.Request or gr.EventData. By @​cbensimon in PR 4956

Breaking Changes:

No changes to highlight.

Other Changes:

3.37

New Features:

Introducing a new gr.ChatInterface abstraction, which allows Gradio users to build fully functioning Chat interfaces very easily. The only required parameter is a chat function fn, which accepts a (string) user input message and a (list of lists) chat history and returns a (string) response. Here's a toy example:

import gradio as gr
def echo(message, history):
return message
demo = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Echo Bot")
demo.launch()

Which produces:

And a corresponding easy-to-use API at /chat:

... (truncated)

Commits
  • 683bdf7 Release 3.38 (#4991)
  • ad9fb84 Improve make_waveform (#4918)
  • c57a4e2 Add css variable for controlling chatbot user message border accent (#4989)
  • f8e5bfa Converts "Submit" button to "Stop" button in ChatInterface while streaming (#...
  • b68aeea Improve gr.ChatInterface UI, add autofocus to textbox (#4978)
  • 3dc9a65 Use state in ChatInterface (#4976)
  • c93c317 chat interface example code fix (#4984)
  • a0efc11 Add show_download_button to gr.Image() (#4959)
  • fdc9ca2 enhancement: Added support for new command 'gradio environment' (#4915)
  • a0b87cb Filter-out special args when setting Interface component labels (#4956)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gradio](https://github.com/gradio-app/gradio) from 3.33.1 to 3.38.0.
- [Release notes](https://github.com/gradio-app/gradio/releases)
- [Changelog](https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md)
- [Commits](gradio-app/gradio@v3.33.1...v3.38.0)

---
updated-dependencies:
- dependency-name: gradio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 25, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 27, 2023

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

3 similar comments
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 27, 2023

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 28, 2023

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 28, 2023

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@unixwzrd unixwzrd merged commit aaeef6c into text-generation-webui-macos Jul 29, 2023
@unixwzrd unixwzrd deleted the dependabot/pip/gradio-3.38.0 branch July 29, 2023 05:57
unixwzrd pushed a commit that referenced this pull request Dec 20, 2023
Update one-click-installer for Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants