From a08b73e38573edf9166bc493263ef4d33d816dbf Mon Sep 17 00:00:00 2001 From: Manan17 Date: Mon, 9 Mar 2026 07:04:02 +0000 Subject: [PATCH] remove file size limit --- studio/backend/routes/datasets.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/studio/backend/routes/datasets.py b/studio/backend/routes/datasets.py index e01375d310..2357cd2c0e 100644 --- a/studio/backend/routes/datasets.py +++ b/studio/backend/routes/datasets.py @@ -295,10 +295,6 @@ def upload_dataset( if not file_bytes: raise HTTPException(status_code=400, detail="Empty upload payload") - max_size_bytes = 512 * 1024 * 1024 - if len(file_bytes) > max_size_bytes: - raise HTTPException(status_code=413, detail="File too large (max 512MB)") - DATASET_UPLOAD_DIR.mkdir(parents=True, exist_ok=True) stored_name = f"{uuid4().hex}_{filename}" stored_path = DATASET_UPLOAD_DIR / stored_name