Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fix: disable OCR in pymupdf4llm PDF extraction (#4659)

Wasim Yousef Said73969a1e4f57
diff --git a/studio/backend/routes/data_recipe/seed.py b/studio/backend/routes/data_recipe/seed.py
index 74a3abe972c..e9cf8286100 100644
--- a/studio/backend/routes/data_recipe/seed.py
+++ b/studio/backend/routes/data_recipe/seed.py
@@ -388,7 +388,7 @@ def _extract_text_from_file(file_path: Path, ext: str) -> str:
import pymupdf4llm
raw = pymupdf4llm.to_markdown(
- str(file_path), write_images = False, show_progress = False
+ str(file_path), write_images = False, show_progress = False, use_ocr = False
)
elif ext == ".docx":
import mammoth