diff --git a/main.py b/main.py index 6b60140..bd63a63 100644 --- a/main.py +++ b/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",