This commit is contained in:
2026-01-13 16:00:29 +01:00
parent e385808547
commit 4e0c5ead48

2
app.py
View File

@@ -853,7 +853,7 @@ def call_extractor(text: str, lab: str = "AHK"):
@app.post("/parse") @app.post("/parse")
async def parse_endpoint(text: str = Body(..., embed=True)): async def parse_endpoint(text: str = Body(..., embed=True)):
lab = parse_report(text) lab = parse_report(text)
result = await call_extractor(text, lab=lab) result = call_extractor(text, lab=lab)
return result return result
PARSERS = { PARSERS = {