Skip to content
Prev Previous commit
Next Next commit
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and sniper35 committed Feb 8, 2026
commit 46a2e570cc2420877db47efc3146e2ba44610207
3 changes: 1 addition & 2 deletions examples/diffusion_router/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ def main():

# Pre-register any workers specified on the command line
for url in args.worker_urls:
router.worker_request_counts[url] = 0
router.worker_failure_counts[url] = 0
router.add_worker_sync(url)
if args.verbose:
print(f"[demo] Pre-registered worker: {url}")

Expand Down