Thanks #6945 ccf317f - Add additional_inputs, additional_inputs_accordion parameters to gr.Interface. Thanks #6965 5d00dd3 - Make Wasm-compatible. #6994 623bc1a - Switch default order for sources for gr.Video so that upload is the default.Thanks #6982 3f139c7 - Fix File drag and drop for specific file_types. Thanks #7038 6be3c2c - Fix Chatbot custom component template. Thanks #6980 523b6bc - gr.update(value=) for gr.File() clears it. Thanks #6933 9cefd2e - Refactor examples so they accept data in the same format as is returned by function, rename. Thanks #7046 9201f86 - Raise error in build step if custom component package is not installed. Thanks #7055 3c3cf86 - Fix UI freeze on rapid generators. Thanks #7050 a336508 - Fix bug preventing layout components to be used as custom components. Thanks #7060 aaecfe5 - Themes: fix bogus header image URL. Thanks #7018 ec28b4e - Add visible and interactive params to gr.Tab(). Thanks #7024 f2d69fc - Fix gallery thumbnail design regression. Thanks #7054 64c65d8 - Add encoding to open/writing files on the deploy_discord function. Thanks #7058 3642b7a - publish: simplify twine_files code. Optional links to GitHub, PyPi, and Hugging Face Spaces.Ī README will also be generated detailing the same information but in a format that is optimised for viewing on GitHub or PyPi!.Any additional interfaces or classes that are necessary to understand the API reference.An explanation of how the component affects the user’s predict function inputs and outputs.An API reference for initialising the component, with types, default values and descriptions.A live embedded demo and working code snippet, pulled from your demo app.This will generate a Gradio app that you can upload to spaces providing rich documentation for potential users. 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. Changelog 4.15.0 Highlights Custom component documentation generator ( #7030 3a944ed)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |