Coloring
Coloring
在 monorepo 项目中使用 import() 动态引入包时打包结果有误(将 ’@xxx/foo‘ 替换为了 'packages/foo/', foo 是包名),测试发现是读取了 tsconfig.json 中的 paths 导致的,去掉 paths 即可。 预期结果是在开发过程中仍然保留 tsconfig 的 paths,希望提供一个手动指定 tsconfig 的配置项。
- [x] I have searched to see if a similar issue already exists. **Is your feature request related to a problem? Please describe.** I have a space with custom components,...
### Describe the bug ``` Traceback (most recent call last): File "/home/user/app/app.py", line 3, in demo = gr.load("TencentARC/InstantMesh", src="spaces") File "/usr/local/lib/python3.10/site-packages/gradio/external.py", line 60, in load return load_blocks_from_repo( File "/usr/local/lib/python3.10/site-packages/gradio/external.py", line...
[Custom Components] `gradio cc dev / build` doesn't work with modifying the `FRONTEND_DIR` property
### Describe the bug `gradio cc dev / build` doesn't work with modifying the `FRONTEND_DIR` property on the Component python class after `4.28.0` version. ```text ValueError: Could not find `@gradio/preview`....
### 需求动机 目前当 content 为非 `string` 时 Bubble.List 不支持 autoScroll 与 typing 效果,我传入的 items 的 content 结构为 `{ content: "", reason_content: "" }`,想类似 deepseek 一样分别展示完成思考过程与最终结果。 看了下源码发现是对 content 的类型做了判断,是否能添加一个 format 函数来由用户对这部分计算做一些格式化,而不是直接跳过动效呢。...