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
32.41k stars 2.42k forks source link

Add cURL to view API Page and add a dedicated Guide #8445

Closed abidlabs closed 3 months ago

abidlabs commented 3 months ago

Adds cURL docs

Closes: https://github.com/gradio-app/gradio/issues/7331 Closes: https://github.com/gradio-app/gradio/issues/6471 Closes: https://github.com/gradio-app/gradio/issues/8237

gradio-pr-bot commented 3 months ago

🪼 branch checks and previews

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

Install Gradio from this PR

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

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@8dc3501417834b1599ad9bff16cfc0b72d3105b6#subdirectory=client/python"

Install Gradio JS Client from this PR

npm install https://gradio-builds.s3.amazonaws.com/8dc3501417834b1599ad9bff16cfc0b72d3105b6/gradio-client-0.20.1.tgz
gradio-pr-bot commented 3 months ago

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
@gradio/app patch
gradio patch

With the following changelog entry.

Add cURL to view API Page and add a dedicated Guide

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/curl-docs/.changeset/ripe-tires-nail.md).
abidlabs commented 3 months ago

@aliabd I tested a few demos and the cURL commands worked but I think it would be great to test a variety of other demos just to make sure everything is working

abidlabs commented 3 months ago

Ok @aliabd I believe I've made all of the changes! If you'd like to take another look, go ahead. I'll probably merge in ~45 min or so

abidlabs commented 3 months ago

Thank you so much @aliabd!