Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update versions #4999

Merged
merged 2 commits into from
Jul 26, 2023
Merged

chore: update versions #4999

merged 2 commits into from
Jul 26, 2023

Conversation

pngwn
Copy link
Member

@pngwn pngwn commented Jul 22, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

gradio_client@0.3.0

Highlights

Create Discord Bots from Gradio Apps 🤖 (#4960 46e4ef67)

We're excited to announce that Gradio can now automatically create a discord bot from any gr.ChatInterface app.

It's as easy as importing gradio_client, connecting to the app, and calling deploy_discord!

🦙 Turning Llama 2 70b into a discord bot 🦙

import gradio_client as grc
grc.Client("ysharma/Explore_llamav2_with_TGI").deploy_discord(to_id="llama2-70b-discord-bot")

Getting started with template spaces

To help get you started, we have created an organization on Hugging Face called gradio-discord-bots with template spaces you can use to turn state of the art LLMs powered by Gradio to discord bots.

Currently we have template spaces for:

But once again, you can deploy ANY gr.ChatInterface app exposed on the internet! So don't hesitate to try it on your own Chatbots.

❗️ Additional Note ❗️: Technically, any gradio app that exposes an api route that takes in a single string and outputs a single string can be deployed to discord. But gr.ChatInterface apps naturally lend themselves to discord's chat functionality so we suggest you start with those.

Thanks @freddyaboulton!

New Features:

  • Endpoints that return layout components are now properly handled in the submit and view_api methods. Output layout components are not returned by the API but all other components are (excluding gr.State). By @freddyaboulton in PR 4871

Bug Fixes:

No changes to highlight

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

0.2.9

New Features:

No changes to highlight

Bug Fixes:

Breaking Changes:

No changes to highlight.

Full Changelog:

  • Pinned dependencies to major versions to reduce the likelihood of a broken gradio_client due to changes in downstream dependencies by @abidlabs in PR 4885

0.2.8

New Features:

Bug Fixes:

  • Fix bug where space duplication would error if the demo has cpu-basic hardware by @freddyaboulton in PR 4583
  • Fixes and optimizations to URL/download functions by @akx in PR 4695

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

0.2.7

New Features:

  • The output directory for files downloaded via the Client can now be set by the output_dir parameter in Client by @abidlabs in PR 4501

Bug Fixes:

  • The output directory for files downloaded via the Client are now set to a temporary directory by default (instead of the working directory in some cases) by @abidlabs in PR 4501

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

0.2.6

New Features:

No changes to highlight.

Bug Fixes:

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

0.2.5

New Features:

No changes to highlight.

Bug Fixes:

  • Fixes parameter names not showing underscores by @abidlabs in PR 4230
  • Fixes issue in which state was not handled correctly if serialize=False by @abidlabs in PR 4230

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

0.2.4

Bug Fixes:

  • Fixes missing serialization classes for several components: Barplot, Lineplot, Scatterplot, AnnotatedImage, Interpretation by @abidlabs in PR 4167

Documentation Changes:

No changes to highlight.

Testing and Infrastructure Changes:

No changes to highlight.

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

Contributors Shoutout:

No changes to highlight.

0.2.3

New Features:

No changes to highlight.

Bug Fixes:

Documentation Changes:

No changes to highlight.

Testing and Infrastructure Changes:

No changes to highlight.

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

Contributors Shoutout:

No changes to highlight.

0.2.2

New Features:

No changes to highlight.

Bug Fixes:

Other Changes:

Breaking Changes:

No changes to highlight.

0.2.1

New Features:

No changes to highlight.

Bug Fixes:

Removes extraneous State component info from the Client.view_api() method by @abidlabs in PR 4107

Documentation Changes:

No changes to highlight.

Testing and Infrastructure Changes:

Separates flaky tests from non-flaky tests by @abidlabs in PR 4107

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

Contributors Shoutout:

No changes to highlight.

0.1.4

New Features:

Bug Fixes:

  • Fixed bug where unnamed routes where displayed with api_name instead of fn_index in view_api by @freddyaboulton in PR 3972

Documentation Changes:

No changes to highlight.

Testing and Infrastructure Changes:

No changes to highlight.

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

Contributors Shoutout:

No changes to highlight.

0.1.3

New Features:

No changes to highlight.

Bug Fixes:

  • Fixed bug where Video components in latest gradio were not able to be deserialized by @freddyaboulton in PR 3860

Documentation Changes:

No changes to highlight.

Testing and Infrastructure Changes:

No changes to highlight.

Breaking Changes:

No changes to highlight.

Full Changelog:

No changes to highlight.

Contributors Shoutout:

No changes to highlight.

0.1.2

First public release of the Gradio Client library! The gradio_client Python library that makes it very easy to use any Gradio app as an API.

As an example, consider this Hugging Face Space that transcribes audio files that are recorded from the microphone.

Using the gradio_client library, we can easily use the Gradio as an API to transcribe audio files programmatically.

Here's the entire code to do it:

from gradio_client import Client

client = Client("abidlabs/whisper") 
client.predict("audio_sample.wav")  

>> "This is a test of the whisper speech recognition model."

Read more about how to use the gradio_client library here: https://gradio.app/getting-started-with-the-python-client/

gradio@3.39.0

Highlights

Create Discord Bots from Gradio Apps 🤖 (#4960 46e4ef67)

We're excited to announce that Gradio can now automatically create a discord bot from any gr.ChatInterface app.

It's as easy as importing gradio_client, connecting to the app, and calling deploy_discord!

🦙 Turning Llama 2 70b into a discord bot 🦙

import gradio_client as grc
grc.Client("ysharma/Explore_llamav2_with_TGI").deploy_discord(to_id="llama2-70b-discord-bot")

Getting started with template spaces

To help get you started, we have created an organization on Hugging Face called gradio-discord-bots with template spaces you can use to turn state of the art LLMs powered by Gradio to discord bots.

Currently we have template spaces for:

But once again, you can deploy ANY gr.ChatInterface app exposed on the internet! So don't hesitate to try it on your own Chatbots.

❗️ Additional Note ❗️: Technically, any gradio app that exposes an api route that takes in a single string and outputs a single string can be deployed to discord. But gr.ChatInterface apps naturally lend themselves to discord's chat functionality so we suggest you start with those.

Thanks @freddyaboulton!

Features

Fixes

@gradio/atoms@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/utils@0.0.2

@gradio/button@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/utils@0.0.2

@gradio/chart@0.0.2

Patch Changes

  • Updated dependencies [41c83070]:
    • @gradio/theme@0.0.2
    • @gradio/utils@0.0.2

@gradio/chatbot@0.0.2

Patch Changes

  • Updated dependencies [41c83070]:
    • @gradio/theme@0.0.2
    • @gradio/utils@0.0.2
    • @gradio/atoms@0.0.2
    • @gradio/upload@0.0.2

@gradio/code@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/atoms@0.0.2
    • @gradio/upload@0.0.2

@gradio/file@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/utils@0.0.2
    • @gradio/atoms@0.0.2
    • @gradio/upload@0.0.2

@gradio/form@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/utils@0.0.2
    • @gradio/atoms@0.0.2

@gradio/highlighted-text@0.0.2

Patch Changes

  • Updated dependencies [41c83070]:
    • @gradio/theme@0.0.2
    • @gradio/utils@0.0.2

@gradio/json@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/atoms@0.0.2

@gradio/label@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/utils@0.0.2

@gradio/model3D@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/atoms@0.0.2
    • @gradio/upload@0.0.2

@gradio/plot@0.0.2

Patch Changes

  • Updated dependencies [41c83070]:
    • @gradio/theme@0.0.2
    • @gradio/utils@0.0.2
    • @gradio/atoms@0.0.2

@gradio/table@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/utils@0.0.2
    • @gradio/button@0.0.2
    • @gradio/upload@0.0.2

@gradio/tabs@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/utils@0.0.2

@gradio/upload@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/atoms@0.0.2

@gradio/upload-button@0.0.2

Patch Changes

  • Updated dependencies []:
    • @gradio/utils@0.0.2
    • @gradio/button@0.0.2
    • @gradio/upload@0.0.2

@gradio/utils@0.0.2

Patch Changes

  • Updated dependencies [41c83070]:
    • @gradio/theme@0.0.2

@gradio/video@0.0.2

Patch Changes

  • Updated dependencies [44ac8ad0]:
    • @gradio/image@0.1.0
    • @gradio/utils@0.0.2
    • @gradio/atoms@0.0.2
    • @gradio/upload@0.0.2

website@0.0.2

Features

Fixes

@gradio/app@1.1.0

Features

@gradio/audio@0.1.0

Features

@gradio/gallery@0.1.0

Features

  • #4995 3f8c210b - Implement left and right click in Gallery component and show implicit images in Gallery grid. Thanks @hannahblair!

@gradio/image@0.1.0

Features

@gradio/theme@0.0.2

Fixes

@vercel
Copy link

vercel bot commented Jul 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
gradio ✅ Ready (Inspect) Visit Preview Jul 26, 2023 8:28pm

@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Jul 22, 2023

🎉 Chromatic build completed!

There are 0 visual changes to review.
There are 0 failed tests to fix.

@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Jul 22, 2023

All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-4999-all-demos


You can install the changes in this PR by running:

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

@pngwn pngwn force-pushed the changeset-release/main branch from e94d70e to f209674 Compare July 24, 2023 12:13
@pngwn pngwn force-pushed the changeset-release/main branch from f209674 to d9e1af7 Compare July 24, 2023 15:59
@pngwn pngwn force-pushed the changeset-release/main branch from d9e1af7 to d7695da Compare July 24, 2023 17:51
@pngwn pngwn force-pushed the changeset-release/main branch from d7695da to 2fb251a Compare July 24, 2023 18:09
@pngwn pngwn force-pushed the changeset-release/main branch from 2fb251a to e92ceab Compare July 24, 2023 18:39
@pngwn pngwn force-pushed the changeset-release/main branch from e92ceab to d9abb04 Compare July 24, 2023 19:42
@pngwn pngwn force-pushed the changeset-release/main branch from d9abb04 to 8afd0cb Compare July 24, 2023 20:47
@pngwn pngwn force-pushed the changeset-release/main branch from 8afd0cb to 52b50fd Compare July 24, 2023 20:58
@pngwn pngwn force-pushed the changeset-release/main branch from 52b50fd to bbcaa7e Compare July 24, 2023 23:39
@pngwn pngwn force-pushed the changeset-release/main branch from bbcaa7e to 9800ba7 Compare July 25, 2023 14:06
@pngwn pngwn force-pushed the changeset-release/main branch from 9800ba7 to f48e7cc Compare July 25, 2023 18:43
@pngwn pngwn force-pushed the changeset-release/main branch from f48e7cc to 2cf32e1 Compare July 26, 2023 15:02
@pngwn pngwn force-pushed the changeset-release/main branch from 2cf32e1 to 7b61ff9 Compare July 26, 2023 20:13
@freddyaboulton freddyaboulton merged commit 861d752 into main Jul 26, 2023
@freddyaboulton freddyaboulton deleted the changeset-release/main branch July 26, 2023 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants