mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
edb2798bb7
* Create Gradio_ONNX_on_Hugging_Face.md * add titles and related spaces * add clearer description * add gradio description * add contribution guide * add spaces description * add onnx models description * first version of document related to onnx/ort/modelzoo * rewording Signed-off-by: jcwchen <jacky82226@gmail.com> * for review Signed-off-by: jcwchen <jacky82226@gmail.com> * spaces Signed-off-by: jcwchen <jacky82226@gmail.com> * update Gradio desc * update spaces description * update onnx description * add code example * update title and tags * add Spaces demo * add efficientnet-lite4 description * add ONNX models tag description * updated by review; onnx.hub Signed-off-by: jcwchen <jacky82226@gmail.com> * download from onnx model zoo * update title * use ort instead of rt for onnx runtime * fix loads * delete extra onnxruntime import * delete trailing space * update height to 810 * update description * add the * delete duplicate sentence * update get started description * add the * update sentence * fix sentence * fix sentence * fix demos * fix model to models * remove get started * onnx model zoo PR link * add contribution * fix sentence * is to are * no colon at end * update contribution and link Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com> |
||
---|---|---|
.. | ||
adding_rich_descriptions_to_your_demo.md | ||
building_a_pictionary_app.md | ||
create_your_own_friends_with_a_gan.md | ||
creating_a_chatbot.md | ||
getting_started.md | ||
Gradio_ONNX_on_Hugging_Face.md | ||
image_classification_in_pytorch.md | ||
image_classification_in_tensorflow.md | ||
image_classification_with_vision_transformers.md | ||
README.md | ||
real_time_speech_recognition.md | ||
using_flagging.md | ||
using_hugging_face_integrations.md | ||
using_the_api_docs.md |
Contributing a Guide
Want to help teach Gradio? Consider contributing a Guide! 🤗
Broadly speaking, there are two types of guides:
- Use cases: guides that cover step-by-step how to build a particular type of machine learning demo or app using Gradio. Here's an example: Creating a Chatbot
- Feature explanation: guides that describe in detail a particular feature of Gradio. Here's an example: Using Flagging
We encourage you to submit either type of Guide! (Looking for ideas? We may also have open issues where users have asked for guides on particular topics)
Guide Structure
As you can see with the previous examples, Guides are standard markdown documents. They usually:
- start with an Introduction section describing the topic
- include subheadings to make articles easy to navigate
- include real code snippets that make it easy to follow along and implement the Guide
- include embedded Gradio demos to make them more interactive and provide immediate demonstrations of the topic being discussed. These Gradio demos are hosted on Hugging Face Spaces and are embedded using the standard <iframe> tag.
How to Contribute a Guide
- Clone or fork this
gradio
repo - Add a new markdown document with a descriptive title to the
/guides
folder - Write your Guide in standard markdown! Embed Gradio demos wherever helpful
- Add a list of
related_spaces
at the top of the markdown document (see the previously linked Guides for how to do this) - Add 3
tags
at the top of the markdown document to help users find your guide (again, see the previously linked Guides for how to do this) - Open a PR to have your guide reviewed
That's it! We're looking forward to reading your Guide 🥳