Skip to content

Webui optimization#2725

Open
YeopSeung04 wants to merge 2 commits intoRVC-Boss:mainfrom
YeopSeung04:webui-optimization
Open

Webui optimization#2725
YeopSeung04 wants to merge 2 commits intoRVC-Boss:mainfrom
YeopSeung04:webui-optimization

Conversation

@YeopSeung04
Copy link
Copy Markdown

Summary

This PR applies a minimal fix to the WebUI initialization logic to ensure compatibility with recent Gradio versions.

Specifically, it removes deprecated concurrency_count usage in Blocks.queue() and aligns the launch behavior with the current Gradio API.

Motivation

Recent versions of Gradio raise a DeprecationWarning (and fail execution in strict environments) when concurrency_count is passed to queue().

This change prevents WebUI startup failure without affecting any training, inference, or UI logic.

Scope of Change

  • WebUI initialization only
  • No changes to model logic, training pipeline, or inference behavior
  • No impact on existing users beyond improved compatibility

Safety

This change is intentionally minimal and scoped only to WebUI startup.
It should be safe to merge without introducing side effects.

Environment

  • Python 3.10 (Windows)
  • Gradio 4.x

feat: optimize webui process management and gradio compatibility
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.

1 participant