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

Traceback (most recent call last): File "/Users/wangxiaowei19/Study/GPT/GPT-SoVITS/webui.py", line 872, in <module> app.queue(concurrency_count=511, max_size=1022).launch( File "/usr/local/lib/python3.9/site-packages/gradio/blocks.py", line 2012, in queue raise DeprecationWarning( DeprecationWarning: concurrency_count has been deprecated. Set the concurrency_limit directly on event listeners e.g. btn.click(fn, ..., concurrency_limit=10) or gr.Interface(concurrency_limit=10). If necessary, the total number of workers can be configured via max_threads in launch(). #1075

Closed
wants to merge 2 commits into from

Conversation

ilyaml218
Copy link

解决MAC运行报错的问题。
Traceback (most recent call last):
File "/Users/wangxiaowei19/Study/GPT/GPT-SoVITS/webui.py", line 872, in
app.queue(concurrency_count=511, max_size=1022).launch(
File "/usr/local/lib/python3.9/site-packages/gradio/blocks.py", line 2012, in queue
raise DeprecationWarning(
DeprecationWarning: concurrency_count has been deprecated. Set the concurrency_limit directly on event listeners e.g. btn.click(fn, ..., concurrency_limit=10) or gr.Interface(concurrency_limit=10). If necessary, the total number of workers can be configured via max_threads in launch().

inference_webui.py 616 <module>
app.queue(concurrency_count=511, max_size=1022).launch(

blocks.py 2012 queue
raise DeprecationWarning(

DeprecationWarning:
concurrency_count has been deprecated. Set the concurrency_limit directly on event listeners e.g. btn.click(fn, ..., concurrency_limit=10) or gr.Interface(concurrency_limit=10). If necessary, the total number of workers can be configured via `max_threads` in launch().
@XXXXRT666
Copy link
Contributor

这是你gradio版本问题吧

@SapphireLab
Copy link
Contributor

你这标题未免太长了,而且问题定位如楼上所言,可见 #527

@RVC-Boss
Copy link
Owner

如果希望支持,可以判断gradio版本决定是否加参数,可以另外提pr。

@RVC-Boss RVC-Boss closed this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants