fix: 增加软件著作

This commit is contained in:
zty 2024-11-15 09:43:32 +08:00
parent 442187a80d
commit 70095e90bb
1 changed files with 2 additions and 1 deletions

View File

@ -268,7 +268,7 @@ software_patterns = [
},
)
async def extract_info(
file_type: Literal["standard", "patent", "country", "building", "social", "province"] = Form(
file_type: Literal["standard", "patent", "country", "building", "social", "province", "software"] = Form(
..., description="Specify the type of file to extract."
),
extract_method: Literal["re", "chat"] = Form(
@ -349,6 +349,7 @@ async def extract_info(
return JSONResponse(content=info)
if __name__ == "__main__":
uvicorn.run(
app="main:app",