Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

什么时候能有个教程文档网站 #47

Open
monkeycc opened this issue Feb 5, 2025 · 3 comments
Open

什么时候能有个教程文档网站 #47

monkeycc opened this issue Feb 5, 2025 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@monkeycc
Copy link

monkeycc commented Feb 5, 2025

源码教程示例
还是不太直观

@Col0ring
Copy link
Collaborator

Col0ring commented Feb 6, 2025

目前组件的相关用法基本都是对标 antd 官方的,一般来说对于每个组件我们目前只提供一些示例的使用方式,更精细的组件控制还是需要参考官方文档来做。

后续我们也会尽快推出常用的几种布局模板放在文档中,尽可能减小用户使用负担。

@phoenixor
Copy link

目前组件的相关用法基本都是对标 antd 官方的,一般来说对于每个组件我们目前只提供一些示例的使用方式,更精细的组件控制还是需要参考官方文档来做。

后续我们也会尽快推出常用的几种布局模板放在文档中,尽可能减小用户使用负担。

请问下,我使用组件化思想把ui文件拆分成多个,用gradio main.py热重载模式运行时,修改其他组件文件后无法自动刷新页面,是不是gradio只能监听main.py文件的变化?这样开发阶段好麻烦

@Col0ring
Copy link
Collaborator

目前组件的相关用法基本都是对标 antd 官方的,一般来说对于每个组件我们目前只提供一些示例的使用方式,更精细的组件控制还是需要参考官方文档来做。
后续我们也会尽快推出常用的几种布局模板放在文档中,尽可能减小用户使用负担。

请问下,我使用组件化思想把ui文件拆分成多个,用gradio main.py热重载模式运行时,修改其他组件文件后无法自动刷新页面,是不是gradio只能监听main.py文件的变化?这样开发阶段好麻烦

应该都是支持跨文件的,我这边试了都是正常的, 你是只有 modelscope_studio 的组件会遇到这种问题么,可以新开个 issue 看下目录结构哈。

@Col0ring Col0ring added the documentation Improvements or additions to documentation label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants