synix/pkgs/marker-pdf/fix-output-dir.patch
sid 95a533c876
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 3s
initial commit
2026-02-23 20:34:35 +01:00

11 lines
508 B
Diff

--- a/marker/settings.py
+++ b/marker/settings.py
@@ -6,7 +6,7 @@
class Settings(BaseSettings):
# Paths
BASE_DIR: str = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
- OUTPUT_DIR: str = os.path.join(BASE_DIR, "conversion_results")
+ OUTPUT_DIR: str = "/tmp/marker_conversion_results"
FONT_DIR: str = os.path.join(BASE_DIR, "static", "fonts")
DEBUG_DATA_FOLDER: str = os.path.join(BASE_DIR, "debug_data")
ARTIFACT_URL: str = "https://models.datalab.to/artifacts"