Skip to content

Webui进度条问题 #253

@zhzLuke96

Description

@zhzLuke96

现象:
之前tts pipeline同步生成的时候,可以显示类似 [1/10] 这样的分步骤进度,但是现在只会显示 [0/1] 所有过程作为一步
按道理说,问题不大,但是对于长任务不知道进度还是有点不直观,如果能修复的话最好

初步分析原因:
因为我们修改了生成流程完全异步化,所以gradio对于tqdm的monkeypatch完全失效了,导致无法在webui中显示分段的进度

可能相关:
迁移到 gradio 5 指南
gradio-app/gradio#9463

也有可能是异步化不完全导致的,因为我看到某些gradio app似乎也是async function作为入口好像没有任何问题?(待验证)
gradio-app/gradio#5560

Metadata

Metadata

Assignees

No one assigned

    Labels

    StoryNext iteration summary and TODO list

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions