Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
33.39k
stars
2.52k
forks
source link
Custom component doc generation can fail if a non-component python class is exported #8612
Open
freddyaboulton opened 3 months ago
Describe the bug
In your custom component project, if you export a python class that's not a gradio component, then the docs and build commands will fail.
We should only document classes that are component classes. Any other classes can be manually documented.
Have you searched existing issues? 🔎
Reproduction
Add a python class to the
__init__.py
Then run
gradio cc build
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it