mirror of
https://github.com/allenai/olmocr.git
synced 2025-10-13 09:12:18 +00:00
Fixing olmocr_pipeline in converter
This commit is contained in:
parent
10cb6aad26
commit
5aa6a9f1a3
@ -63,7 +63,7 @@ async def run_olmocr_pipeline(pdf_path: str, page_num: int = 1) -> Optional[str]
|
||||
logger.info("Using existing sglang server")
|
||||
except Exception:
|
||||
logger.info("Starting new sglang server")
|
||||
_server_task = asyncio.create_task(sglang_server_host(args, semaphore))
|
||||
_server_task = asyncio.create_task(sglang_server_host(args.model, args, semaphore))
|
||||
await sglang_server_ready()
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user