From f4cacacd3adde7724c454e9531fd11b85a29d641 Mon Sep 17 00:00:00 2001 From: Christian Krakau-Louis Date: Mon, 24 Mar 2025 17:04:53 +0100 Subject: [PATCH] fixed typo --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index c26207ec..c4a98cb5 100644 --- a/app/main.py +++ b/app/main.py @@ -115,7 +115,7 @@ def process_all_pdfs_in_workdir(): app.include_router(frontend_router) -@router.post("/ui-upload") +@app.post("/ui-upload") async def ui_upload(file: UploadFile = File(...)): # You can store this file in your 'workdir' (like how /process does) or a tmp dir workdir = "/workdir"