fix: 增加软件著作
This commit is contained in:
parent
442187a80d
commit
70095e90bb
3
main.py
3
main.py
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue