mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
refactor: add black formatting
This commit is contained in:
parent
b87d630b0a
commit
4905929de3
156 changed files with 19723 additions and 10869 deletions
|
@ -1,12 +1,15 @@
|
|||
import os
|
||||
from multiprocessing import Process
|
||||
|
||||
|
||||
def run_worker(cwd):
|
||||
os.chdir(cwd)
|
||||
os.system("celery -A celery_app.celery_app worker --concurrency=120 --loglevel=info")
|
||||
os.system(
|
||||
"celery -A celery_app.celery_app worker --concurrency=120 --loglevel=info"
|
||||
)
|
||||
|
||||
|
||||
def start_worker(cwd):
|
||||
cwd += "/queue"
|
||||
worker_process = Process(target=run_worker, args=(cwd,))
|
||||
worker_process.start()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue