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.49k stars 2.19k forks source link

Set the show_api flag on Lite #8205

Closed whitphx closed 2 weeks ago

whitphx commented 2 weeks ago

Description

Hide the "Use via API" link on Lite, which doesn't make sense in Lite env.

main this PR
gradio-pr-bot commented 2 weeks ago

🪼 branch checks and previews

• Name Status URL
Spaces ready! Spaces preview
Website ready! Website preview
:unicorn: Changes detecting...

Install Gradio from this PR

pip install https://gradio-builds.s3.amazonaws.com/8e01d924dc9a35a11e06d09ba5fc1fd58494a437/gradio-4.28.3-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@8e01d924dc9a35a11e06d09ba5fc1fd58494a437#subdirectory=client/python"
gradio-pr-bot commented 2 weeks ago

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
gradio patch

With the following changelog entry.

Set the show_api flag on Lite

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/gradio-app/gradio/edit/hide-api-on-lite/.changeset/cruel-cars-think.md).
abidlabs commented 2 weeks ago

Let me merge this so that we can get this in for the release