mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-31 12:20:26 +08:00
Mention Custom Components Collection in the guides (#6313)
* mention * add sentence
This commit is contained in:
parent
176c4d1400
commit
0db1e2546a
@ -116,4 +116,6 @@ Here is an example of what publishing looks like:
|
||||
## Conclusion
|
||||
|
||||
Now that you know the high-level workflow of creating custom components, you can go in depth in the next guides!
|
||||
After reading the guides, check out this [collection](https://huggingface.co/collections/gradio/custom-components-65497a761c5192d981710b12) of custom components on the HuggingFace Hub so you can learn from other's code.
|
||||
|
||||
|
||||
|
@ -38,4 +38,13 @@ You can define event triggers in the `EVENTS` class attribute by listing the des
|
||||
|
||||
## Can I implement a custom Gradio component without defining a `data_model`?
|
||||
|
||||
Yes, it is possible to create custom components without a `data_model`, but you are going to have to manually implement `api_info`, `example_inputs`, `flag`, and `read_from_flag` methods.
|
||||
Yes, it is possible to create custom components without a `data_model`, but you are going to have to manually implement `api_info`, `example_inputs`, `flag`, and `read_from_flag` methods.
|
||||
|
||||
## Are there sample custom components I can learn from?
|
||||
|
||||
We have prepared this [collection](https://huggingface.co/collections/gradio/custom-components-65497a761c5192d981710b12) of custom components on the HuggingFace Hub that you can use to get started!
|
||||
|
||||
## How can I find custom components created by the Gradio community?
|
||||
|
||||
We're working on creating a gallery to make it really easy to discover new custom components.
|
||||
In the meantime, you can search for HuggingFace Spaces that are tagged as a `gradio-custom-component` [here](https://huggingface.co/search/full-text?q=gradio-custom-component&type=space)
|
Loading…
x
Reference in New Issue
Block a user