13.01.26
This commit is contained in:
2
app.py
2
app.py
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user