danicor commited on
Commit
e1155d3
·
verified ·
1 Parent(s): e88bf98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -91,9 +91,9 @@ class TranslationOrchestrator:
91
  if workers_loaded == 0:
92
  print("⚠️ No workers in env, using hardcoded fallback")
93
  fallback_workers = [
94
- WorkerConfig(url="https://danicor-w1.hf.space", name="Worker Local 1", priority=1, max_concurrent=1),
95
- WorkerConfig(url="https://danicor-w2.hf.space", name="Worker Local 1", priority=1, max_concurrent=1),
96
- WorkerConfig(url="https://danicor-w3.hf.space", name="Worker Local 1", priority=1, max_concurrent=1),
97
  ]
98
  for i, cfg in enumerate(fallback_workers, start=1):
99
  self.workers[f"worker_{i}"] = WorkerStatus(cfg)
 
91
  if workers_loaded == 0:
92
  print("⚠️ No workers in env, using hardcoded fallback")
93
  fallback_workers = [
94
+ WorkerConfig(url="https://danicor-w1.hf.space", name="Worker 1", priority=1, max_concurrent=1),
95
+ WorkerConfig(url="https://danicor-w2.hf.space", name="Worker 2", priority=1, max_concurrent=1),
96
+ WorkerConfig(url="https://danicor-w3.hf.space", name="Worker 3", priority=1, max_concurrent=1),
97
  ]
98
  for i, cfg in enumerate(fallback_workers, start=1):
99
  self.workers[f"worker_{i}"] = WorkerStatus(cfg)