mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-15 02:11:15 +08:00
ddc5d3866c
* chore: update versions * changeset --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3.1 KiB
3.1 KiB
@gradio/paramviewer
0.4.8
Dependency updates
- @gradio/utils@0.3.2
- @gradio/statustracker@0.4.12
- @gradio/atoms@0.7.0
0.4.7
Dependency updates
- @gradio/utils@0.3.1
- @gradio/atoms@0.6.2
- @gradio/statustracker@0.4.11
0.4.6
Dependency updates
- @gradio/atoms@0.6.1
- @gradio/statustracker@0.4.10
0.4.5
Dependency updates
- @gradio/statustracker@0.4.9
- @gradio/atoms@0.6.0
0.4.4
Patch Changes
- Updated dependencies [
98a2719
]:- @gradio/statustracker@0.4.8
0.4.3
Patch Changes
- Updated dependencies []:
- @gradio/atoms@0.5.3
- @gradio/statustracker@0.4.7
0.4.2
Patch Changes
- Updated dependencies [
065c5b1
]:- @gradio/utils@0.3.0
- @gradio/atoms@0.5.2
- @gradio/statustracker@0.4.6
0.4.1
Patch Changes
- Updated dependencies [
fdd1521
]:- @gradio/utils@0.2.2
- @gradio/atoms@0.5.1
- @gradio/statustracker@0.4.5
0.4.0
Features
Fixes
- #7130
e7ab406
- Fix ParamViewer css. Thanks @freddyaboulton!
0.3.0
Highlights
Custom component documentation generator (#7030 3a944ed
)
If your custom component has type hints and docstrings for both parameters and return values, you can now automatically generate a documentation page and README.md with no additional effort. Simply run the following command:
gradio cc docs
This will generate a Gradio app that you can upload to spaces providing rich documentation for potential users. The documentation page includes:
- Installation instructions.
- A live embedded demo and working code snippet, pulled from your demo app.
- An API reference for initialising the component, with types, default values and descriptions.
- An explanation of how the component affects the user's predict function inputs and outputs.
- Any additional interfaces or classes that are necessary to understand the API reference.
- Optional links to GitHub, PyPi, and Hugging Face Spaces.
A README will also be generated detailing the same information but in a format that is optimised for viewing on GitHub or PyPi!
Thanks @pngwn!