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

Stream Mode这个功能有bug #884

Closed
BaoBaoJianqiang opened this issue Jan 25, 2025 · 2 comments
Closed

Stream Mode这个功能有bug #884

BaoBaoJianqiang opened this issue Jan 25, 2025 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@BaoBaoJianqiang
Copy link

Traceback (most recent call last):
File "/root/miniconda/envs/chattts/lib/python3.11/site-packages/gradio/queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda/envs/chattts/lib/python3.11/site-packages/gradio/route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda/envs/chattts/lib/python3.11/site-packages/gradio/blocks.py", line 1931, in process_api
inputs = await self.preprocess_data(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda/envs/chattts/lib/python3.11/site-packages/gradio/blocks.py", line 1652, in preprocess_data
inputs_cached = await processing_utils.async_move_files_to_cache(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda/envs/chattts/lib/python3.11/site-packages/gradio/processing_utils.py", line 485, in async_move_files_to_cache
return await client_utils.async_traverse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda/envs/chattts/lib/python3.11/site-packages/gradio_client/utils.py", line 999, in async_traverse
return await func(json_obj)
^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda/envs/chattts/lib/python3.11/site-packages/gradio/processing_utils.py", line 456, in _move_to_cache
raise ValueError(
ValueError: File /root/ChatTTS/rgv1xf78z2/140448013701776/50 is not in the upload folder and cannot be accessed.

@BaoBaoJianqiang
Copy link
Author

点击Stream Mode,执行Generate没有bug,是可以生成语音的。再次点击Stream Mode取消勾选,这时候Generate按钮仍然显示为Interrupt按钮。导致按钮后续不能工作,错误日志如上所示。只能刷新页面回到最初状态才可以。

@fumiama
Copy link
Member

fumiama commented Feb 6, 2025

这是已知bug,和gradio问题有关。

@fumiama fumiama closed this as completed Feb 6, 2025
@fumiama fumiama added the duplicate This issue or pull request already exists label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants