mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-19 12:00:39 +08:00
Fix broken links in "Next Steps" of README.md (#1466)
* Update README.md * add comment to readme * fixed links * made changes to readme template Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
parent
42cee33dcf
commit
22c87d4b59
@ -1,3 +1,6 @@
|
||||
<!-- DO NOT EDIT THIS FILE DIRECTLY. INSTEAD PLEASE EDIT: "readme_template.md" or
|
||||
"guides/getting_started.md", AND THEN RUN: "python render_readme.py" -->
|
||||
|
||||
[](https://circleci.com/gh/gradio-app/gradio) [](https://badge.fury.io/py/gradio) [](https://codecov.io/gh/gradio-app/gradio) [](https://pypi.org/project/gradio/) [](https://twitter.com/gradio)
|
||||
|
||||
# Gradio: Build Machine Learning Web Apps — in Python
|
||||
@ -400,8 +403,8 @@ You can either drag and drop a folder containing your Gradio model and all relat
|
||||
Now that you're familiar with the basics of Gradio, here are some good next steps:
|
||||
|
||||
* Check out [the free Gradio course](https://huggingface.co/course/chapter9/1) for a step-by-step walkthrough of everything Gradio-related with lots of examples of how to build your own machine learning demos 📖
|
||||
* Gradio offers two APIs to users: **Interface**, a high level abstraction for quickly creating demos, and **Blocks**, a more flexible API for designing web apps with more controlled layouts and data flows. [Read more about Blocks here](/introduction_to_blocks/) 🧱
|
||||
* If you'd like to stick with **Interface**, but want to add more advanced features to your demo (like authentication, interpretation, or state), check out our guide on [advanced features with the Interface class](/advanced_interface_features) 💪
|
||||
* Gradio offers two APIs to users: **Interface**, a high level abstraction for quickly creating demos, and **Blocks**, a more flexible API for designing web apps with more controlled layouts and data flows. [Read more about Blocks here](https://gradio.app/introduction_to_blocks/) 🧱
|
||||
* If you'd like to stick with **Interface**, but want to add more advanced features to your demo (like authentication, interpretation, or state), check out our guide on [advanced features with the Interface class](https://gradio.app/advanced_interface_features/) 💪
|
||||
* If you just want to explore what demos other people have built with Gradio and see the underlying Python code, [browse public Hugging Face Spaces](https://hf.space/), and be inspired 🤗
|
||||
|
||||
|
||||
|
@ -182,7 +182,7 @@ You can either drag and drop a folder containing your Gradio model and all relat
|
||||
Now that you're familiar with the basics of Gradio, here are some good next steps:
|
||||
|
||||
* Check out [the free Gradio course](https://huggingface.co/course/chapter9/1) for a step-by-step walkthrough of everything Gradio-related with lots of examples of how to build your own machine learning demos 📖
|
||||
* Gradio offers two APIs to users: **Interface**, a high level abstraction for quickly creating demos, and **Blocks**, a more flexible API for designing web apps with more controlled layouts and data flows. [Read more about Blocks here](/introduction_to_blocks/) 🧱
|
||||
* If you'd like to stick with **Interface**, but want to add more advanced features to your demo (like authentication, interpretation, or state), check out our guide on [advanced features with the Interface class](/advanced_interface_features) 💪
|
||||
* Gradio offers two APIs to users: **Interface**, a high level abstraction for quickly creating demos, and **Blocks**, a more flexible API for designing web apps with more controlled layouts and data flows. [Read more about Blocks here](https://gradio.app/introduction_to_blocks/) 🧱
|
||||
* If you'd like to stick with **Interface**, but want to add more advanced features to your demo (like authentication, interpretation, or state), check out our guide on [advanced features with the Interface class](https://gradio.app/advanced_interface_features/) 💪
|
||||
* If you just want to explore what demos other people have built with Gradio and see the underlying Python code, [browse public Hugging Face Spaces](https://hf.space/), and be inspired 🤗
|
||||
|
||||
|
@ -45,5 +45,10 @@ readme_template = Environment(loader=GuidesLoader(".")).get_template(README_TEMP
|
||||
output_readme = readme_template.render(code=code, demos=demos)
|
||||
output_readme = output_readme.replace("(/assets/", "(website/homepage/src/assets/")
|
||||
|
||||
output_readme = """<!-- DO NOT EDIT THIS FILE DIRECTLY. INSTEAD PLEASE EDIT: "readme_template.md" or
|
||||
"guides/getting_started.md", AND THEN RUN: "python render_readme.py" -->
|
||||
|
||||
""" + output_readme
|
||||
|
||||
with open("README.md", "w") as readme_md:
|
||||
readme_md.write(output_readme)
|
||||
|
Loading…
x
Reference in New Issue
Block a user